Skip to content

Commit

Permalink
Cancel previous GitHub actions runs when PR updated
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesoltys committed Oct 8, 2023
1 parent bd47fef commit 1de9f06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Run instrumentation tests
on:
push:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
instrumentation_tests:
runs-on: macos-11
Expand Down

0 comments on commit 1de9f06

Please sign in to comment.