Skip to content

Commit eacc992

Browse files
chore(runway): cherry-pick chore(ci): enable RC rolling builds (#28687)
- chore(ci): enable RC rolling builds (#28680) ## Description Adds **rolling builds** for the **Auto RC builds** workflow (`.github/workflows/build-rc-auto.yml`) by setting a **concurrency group** on `github.workflow` + `github.ref` with **`cancel-in-progress: true`**. When a new run starts for a given `release/*` branch, any **queued or in-progress** run of the same workflow for that branch is **cancelled**, so only the latest push is built. This mirrors Bitrise-style rolling builds and avoids piling up redundant RC builds when the release branch gets several commits in a short time. ## Changelog CHANGELOG entry: null internal CI behavior only. ## Related issues Fix: https://consensyssoftware.atlassian.net/browse/MCWP-518 ## Manual testing steps N/A — CI-only change. Verify by pushing multiple commits quickly to a labeled release PR and confirming older Auto RC workflow runs are cancelled while the newest run proceeds. [0805e78](0805e78) Co-authored-by: João Loureiro <175489935+joaoloureirop@users.noreply.github.com>
1 parent 442bed6 commit eacc992

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build-rc-auto.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
# It runs on every commit pushed to a release branch, but only when the release PR
55
# has the 'auto-rc-builds' label.
66
#
7+
# Rolling builds: when a new run starts for the same release branch, any queued or
8+
# in-progress run of this workflow for that branch is cancelled (same behavior as
9+
# Bitrise “Rolling builds” / “Abort running builds” for one branch + one workflow).
10+
#
711
# Builds are triggered via the Runway OTA/build pipeline (runway-ota-build-core.yml):
812
# - iOS runs first and performs the version bump.
913
# - Android runs after, skipping the version bump (already done by iOS).
@@ -16,6 +20,10 @@ on:
1620
branches:
1721
- 'release/*'
1822

23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.ref }}
25+
cancel-in-progress: true
26+
1927
permissions:
2028
contents: write
2129
pull-requests: write

0 commit comments

Comments
 (0)