Skip to content

Commit

Permalink
Add concurrency: directive to CI workflow
Browse files Browse the repository at this point in the history
This cancels any in-progress runs of this workflow when a new commit is
pushed to `master`.

This seems desirable because the integration tests can take a long time
to run.
  • Loading branch information
dmartin committed Jan 19, 2024
1 parent ac6ff09 commit 4ed9aee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
pull_request:
branches: [ master ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
CMGR_LOGGING: debug

Expand Down

0 comments on commit 4ed9aee

Please sign in to comment.