Skip to content

Commit

Permalink
Merge pull request #793 from MetOffice/784_cancel_running_pr_checks
Browse files Browse the repository at this point in the history
Cancel running PR checks if new commit is pushed
  • Loading branch information
jfrost-mo authored Aug 19, 2024
2 parents caff701 + db7bc13 commit 37971c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pull_request_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
- "main"
workflow_dispatch:

# Cancel running pull request checks if another commit is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
tests:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 37971c3

Please sign in to comment.