Skip to content

Commit cca2da1

Browse files
committed
ci: only cancel previous PR runs on Forgejo Actions
1 parent 071453d commit cca2da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.forgejo/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88
concurrency:
99
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
10-
cancel-in-progress: true
10+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1111
permissions:
1212
contents: read
1313
jobs:

0 commit comments

Comments
 (0)