CI: a newer push supersedes older runs (concurrency)

0e2fadf · Gabe Morell · 2026-10-27 04:08

6 files +28 -0
Message
{commit_body(@commit)}

Files changed

modified .github/workflows/android.yml
+7 −0
@@ -14,6 +14,13 @@ on:
14 14 - 'moire/shaders/**'
15 15 - '.github/workflows/android.yml'
16 16
17 +# A newer push supersedes this run: on a branch or PR the run in
18 +# progress is cancelled; on master it finishes, and only a run still
19 +# waiting is replaced.
20 +concurrency:
21 + group: ${{ github.workflow }}-${{ github.ref }}
22 + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
23 +
17 24 jobs:
18 25 # Builds, signs, and publishes the APK to this repository's own F-Droid
19 26 # registry.
modified .github/workflows/audit.yml
+7 −0
@@ -30,6 +30,13 @@ on:
30 30 permissions:
31 31 contents: read
32 32
33 +# A newer push supersedes this run: on a branch or PR the run in
34 +# progress is cancelled; on master it finishes, and only a run still
35 +# waiting is replaced.
36 +concurrency:
37 + group: ${{ github.workflow }}-${{ github.ref }}
38 + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
39 +
33 40 jobs:
34 41 osv:
35 42 runs-on: arc-runner-set
modified .github/workflows/dependency-updates.yml
+7 −0
@@ -20,6 +20,13 @@ permissions:
20 20 contents: write # push the deps/security-cargo branch
21 21 pull-requests: write # open, refresh and close its pull request
22 22
23 +# A newer push supersedes this run: on a branch or PR the run in
24 +# progress is cancelled; on master it finishes, and only a run still
25 +# waiting is replaced.
26 +concurrency:
27 + group: ${{ github.workflow }}-${{ github.ref }}
28 + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
29 +
23 30 jobs:
24 31 update:
25 32 runs-on: arc-runner-set
modified .github/workflows/package.yml
+7 −0
@@ -14,6 +14,13 @@ on:
14 14 env:
15 15 CARGO_TERM_COLOR: always
16 16
17 +# A newer push supersedes this run: on a branch or PR the run in
18 +# progress is cancelled; on master it finishes, and only a run still
19 +# waiting is replaced.
20 +concurrency:
21 + group: ${{ github.workflow }}-${{ github.ref }}
22 + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
23 +
17 24 jobs:
18 25 package:
19 26 # One runner, not ppl's per-arch matrix: every package here is

Parents: b45666d