neiam
/gitgud
Git Gud
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
1
Log in to mark this repository.
CI: a newer push supersedes older runs (concurrency)
a28ca1a · Gabriel Morell · 2026-10-27 04:08
Message
{commit_body(@commit)}
Files changed
modified
.forgejo/workflows/audit.yml
+7
−0
@@ -31,6 +31,13 @@ on:
| 31 | 31 | permissions: |
| 32 | 32 | contents: read |
| 33 | 33 | |
| 34 | +# A newer push supersedes this run: on a branch or PR the run in | |
| 35 | +# progress is cancelled; on master it finishes, and only a run still | |
| 36 | +# waiting is replaced. | |
| 37 | +concurrency: | |
| 38 | + group: ${{ github.workflow }}-${{ github.ref }} | |
| 39 | + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| 40 | + | |
| 34 | 41 | jobs: |
| 35 | 42 | osv: |
| 36 | 43 | runs-on: self-hosted |
modified
.forgejo/workflows/build.yml
+7
−0
@@ -4,6 +4,13 @@ on:
| 4 | 4 | branches: [master] |
| 5 | 5 | # tags: ['v*'] |
| 6 | 6 | |
| 7 | +# A newer push supersedes this run: on a branch or PR the run in | |
| 8 | +# progress is cancelled; on master it finishes, and only a run still | |
| 9 | +# waiting is replaced. | |
| 10 | +concurrency: | |
| 11 | + group: ${{ github.workflow }}-${{ github.ref }} | |
| 12 | + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| 13 | + | |
| 7 | 14 | jobs: |
| 8 | 15 | build: |
| 9 | 16 | runs-on: self-hosted |
modified
.forgejo/workflows/checks.yml
+7
−0
@@ -10,6 +10,13 @@ on:
| 10 | 10 | permissions: |
| 11 | 11 | contents: read |
| 12 | 12 | |
| 13 | +# A newer push supersedes this run: on a branch or PR the run in | |
| 14 | +# progress is cancelled; on master it finishes, and only a run still | |
| 15 | +# waiting is replaced. | |
| 16 | +concurrency: | |
| 17 | + group: ${{ github.workflow }}-${{ github.ref }} | |
| 18 | + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| 19 | + | |
| 13 | 20 | jobs: |
| 14 | 21 | test: |
| 15 | 22 | 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-* branches |
| 23 | 23 | pull-requests: write # open, refresh and close their pull requests |
| 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/test.yml
+7
−0
@@ -1,5 +1,12 @@
| 1 | 1 | name: hello |
| 2 | 2 | on: { push: { branches: [master] } } |
| 3 | +# A newer push supersedes this run: on a branch or PR the run in | |
| 4 | +# progress is cancelled; on master it finishes, and only a run still | |
| 5 | +# waiting is replaced. | |
| 6 | +concurrency: | |
| 7 | + group: ${{ github.workflow }}-${{ github.ref }} | |
| 8 | + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| 9 | + | |
| 3 | 10 | jobs: |
| 4 | 11 | smoke: |
| 5 | 12 | runs-on: self-hosted |
Parents: 36cf3d6