Skip to content

Commit

Permalink
Merge pull request #492 from cgwalters/ci-concurrency
Browse files Browse the repository at this point in the history
ci: Add concurrency cancellation
  • Loading branch information
cgwalters committed Apr 26, 2024
2 parents 5360115 + 82ccc23 commit 1bafdba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
env:
CARGO_TERM_COLOR: always

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

jobs:
tests:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
pull_request_target:
types: [opened, synchronize, reopened]

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

env:
AWS_REGION: us-east-1

Expand Down

0 comments on commit 1bafdba

Please sign in to comment.