Skip to content

[Not tested!] Adds option to sync branches with specific commit-id #3019

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

Conversation

frenzyfriday
Copy link
Contributor

@frenzyfriday frenzyfriday commented May 29, 2025

This will allow the user to pass a commit-id, thus the stable branch can be synced to a specific commit on main and not always HEAD
This can be triggered by:

  curl -L \
  -X POST \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer <PAT>" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  https://api.github.com/repos/openstack-k8s-operators/ci-framework/dispatches \
  -d '{"event_type":"trigger-sync","client_payload":{"source-branch":"main","target-branch":"stable","commit-id":"abcd123"}}'

Copy link
Contributor

openshift-ci bot commented May 29, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

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

@frenzyfriday frenzyfriday changed the title WIP: Adds option to sync branches with specific commit-id [Not tested!] Adds option to sync branches with specific commit-id May 29, 2025
@frenzyfriday frenzyfriday reopened this May 30, 2025
@sdatko sdatko self-requested a review June 2, 2025 09:42
Copy link

This PR is stale because it has been for over 15 days with no activity.
Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jun 18, 2025
@github-actions github-actions bot closed this Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant