Commit cca2da16bd

Alex Rønne Petersen <alex@alexrp.com>
2025-11-13 23:00:40
ci: only cancel previous PR runs on Forgejo Actions
1 parent 071453d
Changed files (1)
.forgejo
workflows
.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: