Skip to content

Conversation

@kaovilai
Copy link
Member

@kaovilai kaovilai commented Apr 25, 2025

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.

@openshift-ci openshift-ci bot requested review from mpryc and sseago April 25, 2025 19:37
@openshift-ci
Copy link

openshift-ci bot commented Apr 25, 2025

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@oadp-snyk
Copy link

oadp-snyk commented Apr 25, 2025

🎉 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)

@kaovilai kaovilai force-pushed the gha-update-oadp-branch branch 3 times, most recently from f89ce8f to 522a592 Compare April 25, 2025 19:44
@kaovilai kaovilai changed the title Add GitHub Actions workflow to update OADP dependencies automatically Add GitHub Actions workflow to update OADP Go dependencies automatically Apr 25, 2025
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
@kaovilai kaovilai force-pushed the gha-update-oadp-branch branch from 522a592 to ac4242a Compare April 25, 2025 19:48
@kaovilai kaovilai requested a review from Copilot April 25, 2025 19:49
Copy link

Copilot AI left a 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.

@weshayutin
Copy link
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants