Skip to content

fix: github action to keep auto merge prs in sync with develop - #1567

Merged
jekabs-karklins merged 2 commits into
developfrom
SWAP-5628-implement-scheduled-workflow-to-keep-auto-merge-pr
Jun 10, 2026
Merged

fix: github action to keep auto merge prs in sync with develop#1567
jekabs-karklins merged 2 commits into
developfrom
SWAP-5628-implement-scheduled-workflow-to-keep-auto-merge-pr

Conversation

@jekabs-karklins

@jekabs-karklins jekabs-karklins commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Description

This PR introduces a scheduled workflow to automatically synchronize auto-merge pull requests with the 'develop' branch.

Motivation and Context

This change is necessary to ensure that auto-merge pull requests are up-to-date with the 'develop' branch. This will make sure that if the user has marked PR as automerge the actions will the the best effort to make sure it is merged.

Changes

  • Introduced a new workflow file sync-auto-merge-prs.yml that runs on a schedule and finds any auto-merge PRs that are behind the 'develop' branch. It then syncs the PRs with the 'develop' branch.
  • Removed the previous workflow update-prs-with-develop.yml that was used for updating PRs with 'develop', which is now replaced by the new workflow.

This approach allows for more automated and efficient management of pull requests, reducing manual effort and ensuring a smoother integration process.

How Has This Been Tested?

Fixes Jira Issue

https://jira.ess.eu//browse/SWAP-5628

Depends On

Tests included/Docs Updated?

  • I have added tests to cover my changes.
  • All relevant doc has been updated

@jekabs-karklins jekabs-karklins changed the title implement scheduled workflow to keep auto merge pr github action to keep auto merge prs in sync with develop Jun 10, 2026
@jekabs-karklins jekabs-karklins changed the title github action to keep auto merge prs in sync with develop fix: github action to keep auto merge prs in sync with develop Jun 10, 2026
@jekabs-karklins
jekabs-karklins marked this pull request as ready for review June 10, 2026 07:14
@jekabs-karklins
jekabs-karklins requested a review from a team as a code owner June 10, 2026 07:14
@jekabs-karklins
jekabs-karklins requested review from William-Edwards-STFC and removed request for a team June 10, 2026 07:14
@jekabs-karklins
jekabs-karklins enabled auto-merge (squash) June 10, 2026 07:58
@jekabs-karklins
jekabs-karklins merged commit 7aa599f into develop Jun 10, 2026
38 of 41 checks passed
@jekabs-karklins
jekabs-karklins deleted the SWAP-5628-implement-scheduled-workflow-to-keep-auto-merge-pr branch June 10, 2026 08:28
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.

2 participants