Skip to content

Commit

Permalink
Configure 'test' workflow to cancel running jobs for the branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed May 12, 2023
1 parent 657ba9a commit f5b4a5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
branches:
- "*"

# Cancel running jobs for the same workflow and branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

check-package:
Expand Down

0 comments on commit f5b4a5d

Please sign in to comment.