commit cca2da16bdcc40dfc53e60a85dc666185823a1e9 (tree)
parent 071453d5b9a8a48211c4517185df1b41d42107c7
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Thu, 13 Nov 2025 23:00:40 +0100
ci: only cancel previous PR runs on Forgejo Actions
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml
@@ -7,7 +7,7 @@ on:
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
- cancel-in-progress: true
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs: