Skip to content

Commit

Permalink
Cancel redundant workflow runs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Jul 6, 2024
1 parent eb8e1f8 commit f37d175
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/dynamic_fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: dynamic fuzz
on:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
# Check if files in the /test, /crates, or /lib directories or the
# /Cargo.lock, or /Cargo.toml files were changed in this PR.
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rust_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
pull_request:
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
# Check if files in the /test, /crates, or /lib directories or the
# /Cargo.lock, or /Cargo.toml files were changed in this PR.
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rust_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
pull_request:
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
# Check if files in the /test, /crates, or /lib directories or the
# /Cargo.lock, or /Cargo.toml files were changed in this PR.
Expand Down

0 comments on commit f37d175

Please sign in to comment.