⭐
Log in to mark this repository.
CI: a newer push supersedes older runs (concurrency)
a4e2ffe · Gabe Morell · 2026-10-27 04:08
Message
{commit_body(@commit)}
Files changed
modified
.forgejo/workflows/build.yml
+7
−0
@@ -3,6 +3,13 @@ on:
| 3 | 3 | push: |
| 4 | 4 | branches: [master] |
| 5 | 5 | |
| 6 | +# A newer push supersedes this run: on a branch or PR the run in | |
| 7 | +# progress is cancelled; on master it finishes, and only a run still | |
| 8 | +# waiting is replaced. | |
| 9 | +concurrency: | |
| 10 | + group: ${{ github.workflow }}-${{ github.ref }} | |
| 11 | + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| 12 | + | |
| 6 | 13 | jobs: |
| 7 | 14 | # Builds, signs, and publishes the APK to this repository's own F-Droid |
| 8 | 15 | # registry. Adapted from GitGud's `android` job. |
Parents: d26f811