Skip to content

ci: allow manually triggering the develop-to-main sync - #103

Merged
cgoea merged 3 commits into
developfrom
users/cgoea/manual_sync_develop
Sep 14, 2026
Merged

cgoea merged 3 commits into
developfrom
users/cgoea/manual_sync_develop

Conversation

@cgoea

@cgoea cgoea commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Motivation

The automatic developmain synchronization can occasionally become stuck because of GitHub Actions infrastructure issues and cannot be restarted in place.
Allow maintainers to manually trigger a replacement synchronization run.
Fixes #89

Technical Details

  • Adds a workflow_dispatch trigger to sync_develop_to_main.yml.
  • Enables cancel-in-progress for the existing concurrency group so a new run supersedes a stuck or outdated synchronization.
  • Merges the latest origin/develop commit instead of relying on GITHUB_SHA, which may refer to another branch when manually dispatched.
  • Retains the existing automatic trigger for pushes to develop.

Submission Checklist

@cgoea
cgoea requested review from a team and HereThereBeDragons September 10, 2026 11:26
concurrency:
group: sync-develop-to-main
# just in case previous run is stuck
cancel-in-progress: true

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if this is a good idea if we get a burst of commits incoming?

we can add a bool input "force_execute" with default false and then use

cancel-in-progress: ${{ inputs.force_execute }} so that manually we can cancel the queue

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since those fire pretty fast, I was thinking overlaps will rarely if not never happen, but I guess it can't hurt. made the change

@cgoea
cgoea merged commit 9a756a8 into develop Sep 14, 2026
12 checks passed
@cgoea
cgoea deleted the users/cgoea/manual_sync_develop branch September 14, 2026 09:34
quartz-sync-github-app Bot pushed a commit that referenced this pull request Sep 14, 2026
9a756a8, ci: allow manually triggering the develop-to-main sync (#103), Ciprian Goea (ciprian.goea@amd.com), Mon Sep 14 12:34:57 2026 +0300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants