Add GitHub Actions workflow to update OADP Go dependencies automatically#273
Add GitHub Actions workflow to update OADP Go dependencies automatically#273kaovilai wants to merge 2 commits intomigtools:oadp-devfrom
Conversation
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
f89ce8f to
522a592
Compare
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
522a592 to
ac4242a
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new GitHub Actions workflow that periodically updates OADP Go dependencies and creates pull requests automatically for supported branches. Key changes include:
- Adding a scheduled (and manual via workflow_dispatch) workflow that runs on multiple branches (master, main, oadp-*).
- Extracting the Go version from go.mod and setting up the Go environment dynamically.
- Iterating over branches to create/update PR branches with updated dependencies using GitHub CLI.
|
nice patch co.... er. I mean @kaovilai :) |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaovilai, sseago The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Tiger Kaovilai tkaovila@redhat.com
Why the changes were made
Eliminate need for #272 from maintainers
Keeps
master, main, oadp-*up to date on oadp-operator and velero deps.How to test the changes made
Sample: kaovilai#1, https://github.com/kaovilai/oadp-non-admin/actions/runs/14672155869/job/41180939148
You could also cherrypick to your own branch and push to your own master (so workflow_dispatch button works)
You can also cherrypick to branch and add push trigger.