⭐
Log in to mark this repository.
CI: a newer push supersedes older runs (concurrency)
b692f89 · Gabe Morell · 2026-10-27 04:07
Message
{commit_body(@commit)}
Files changed
modified
.forgejo/workflows/android.yml
+7
−0
@@ -19,6 +19,13 @@ on:
| 19 | 19 | push: |
| 20 | 20 | branches: [master] |
| 21 | 21 | |
| 22 | +# A newer push supersedes this run: on a branch or PR the run in | |
| 23 | +# progress is cancelled; on master it finishes, and only a run still | |
| 24 | +# waiting is replaced. | |
| 25 | +concurrency: | |
| 26 | + group: ${{ github.workflow }}-${{ github.ref }} | |
| 27 | + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| 28 | + | |
| 22 | 29 | jobs: |
| 23 | 30 | android: |
| 24 | 31 | runs-on: self-hosted |
modified
.forgejo/workflows/audit.yml
+7
−0
@@ -24,6 +24,13 @@ on:
| 24 | 24 | permissions: |
| 25 | 25 | contents: read |
| 26 | 26 | |
| 27 | +# A newer push supersedes this run: on a branch or PR the run in | |
| 28 | +# progress is cancelled; on master it finishes, and only a run still | |
| 29 | +# waiting is replaced. | |
| 30 | +concurrency: | |
| 31 | + group: ${{ github.workflow }}-${{ github.ref }} | |
| 32 | + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| 33 | + | |
| 27 | 34 | jobs: |
| 28 | 35 | osv: |
| 29 | 36 | runs-on: self-hosted |
modified
.forgejo/workflows/checks.yml
+7
−0
@@ -12,6 +12,13 @@ on:
| 12 | 12 | permissions: |
| 13 | 13 | contents: read |
| 14 | 14 | |
| 15 | +# A newer push supersedes this run: on a branch or PR the run in | |
| 16 | +# progress is cancelled; on master it finishes, and only a run still | |
| 17 | +# waiting is replaced. | |
| 18 | +concurrency: | |
| 19 | + group: ${{ github.workflow }}-${{ github.ref }} | |
| 20 | + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| 21 | + | |
| 15 | 22 | jobs: |
| 16 | 23 | test: |
| 17 | 24 | runs-on: self-hosted |
modified
.forgejo/workflows/dependency-updates.yml
+7
−0
@@ -22,6 +22,13 @@ permissions:
| 22 | 22 | contents: write # push the deps/security-cargo branch |
| 23 | 23 | pull-requests: write # open, refresh and close its pull request |
| 24 | 24 | |
| 25 | +# A newer push supersedes this run: on a branch or PR the run in | |
| 26 | +# progress is cancelled; on master it finishes, and only a run still | |
| 27 | +# waiting is replaced. | |
| 28 | +concurrency: | |
| 29 | + group: ${{ github.workflow }}-${{ github.ref }} | |
| 30 | + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| 31 | + | |
| 25 | 32 | jobs: |
| 26 | 33 | update: |
| 27 | 34 | runs-on: self-hosted |
modified
.forgejo/workflows/image.yml
+7
−0
@@ -14,6 +14,13 @@ on:
| 14 | 14 | push: |
| 15 | 15 | branches: [master] |
| 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 | image: |
| 19 | 26 | runs-on: self-hosted |
Parents: fe5e3cd