Skip to content

Commit f4c8019

Browse files
committed
devops: cancel previous CI runs
1 parent e586c66 commit f4c8019

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ on:
1010
- main
1111
- release-*
1212

13+
concurrency:
14+
# For pull requests, cancel all currently-running jobs for this workflow
15+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
16+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
1319
jobs:
1420
infra:
1521
name: Lint

0 commit comments

Comments
 (0)