neiam
/neiam-portal
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
CI: a newer push supersedes older runs (concurrency)
f53fb39 · Gabe Morell · 2026-10-27 04:07
Message
{commit_body(@commit)}
Files changed
modified
.forgejo/workflows/audit.yml
+7
−0
@@ -26,6 +26,13 @@ on:
| 26 | 26 | permissions: |
| 27 | 27 | contents: read |
| 28 | 28 | |
| 29 | +# A newer push supersedes this run: on a branch or PR the run in | |
| 30 | +# progress is cancelled; on master it finishes, and only a run still | |
| 31 | +# waiting is replaced. | |
| 32 | +concurrency: | |
| 33 | + group: ${{ github.workflow }}-${{ github.ref }} | |
| 34 | + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| 35 | + | |
| 29 | 36 | jobs: |
| 30 | 37 | osv: |
| 31 | 38 | runs-on: self-hosted |
modified
.forgejo/workflows/publish.yml
+7
−0
@@ -12,6 +12,13 @@ on:
| 12 | 12 | branches: [master] |
| 13 | 13 | tags: ['v*'] |
| 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 | publish: |
| 17 | 24 | runs-on: self-hosted |
Parents: ce1d47f