-
Notifications
You must be signed in to change notification settings - Fork 9
Add GitHub Actions workflow to update OADP Go dependencies automatically #273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaovilai The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
🎉 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 <[email protected]>
522a592
to
ac4242a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]> Signed-off-by: Tiger Kaovilai <[email protected]>
Signed-off-by: Tiger Kaovilai [email protected]
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.