Skip to content

Commit

Permalink
Cancel in-progress jobs for new pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
ludfjig committed Nov 21, 2024
1 parent 8d0cb80 commit 823c43c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dep_fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
type: string
default: "false"

# Cancels old running job if a new one is triggered (e.g. by a push onto the same branch)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
id-token: write
contents: read
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/dep_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ on:
type: string
default: "false"

# Cancels old running job if a new one is triggered (e.g. by a push onto the same branch)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: FULL
Expand Down

0 comments on commit 823c43c

Please sign in to comment.