Add GitHub Actions workflow to update OADP Go dependencies automatically#273
Open
kaovilai wants to merge 2 commits intomigtools:oadp-devfrom
Open
Add GitHub Actions workflow to update OADP Go dependencies automatically#273kaovilai wants to merge 2 commits intomigtools:oadp-devfrom
kaovilai wants to merge 2 commits intomigtools:oadp-devfrom
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 DetailsNeeds 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 <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.
Contributor
|
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.