Skip to content

Commit

Permalink
ci: cancel previously running actions
Browse files Browse the repository at this point in the history
This should prevent CI queue filling up when pushing to the same branch
multiple times in a row.
  • Loading branch information
ghedo committed Jan 16, 2025
1 parent 028f8ac commit e4bedc7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ env:
RUSTDOCFLAGS: "--cfg docsrs"
RUSTTOOLCHAIN: "nightly"

concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
quiche:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ env:
RUSTFLAGS: "-D warnings"
RUSTTOOLCHAIN: "stable"

concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
quiche:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e4bedc7

Please sign in to comment.