Skip to content

Commit

Permalink
Avoiding concurrent CI actions (#962)
Browse files Browse the repository at this point in the history
* Avoiding concurrent CI actions
  • Loading branch information
AnomalRoil committed Apr 8, 2022
1 parent 185a337 commit 10ac3e4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request:
branches: [ master ]

concurrency:
group: ci-${{ github.ref }}-lint
cancel-in-progress: true

jobs:
golangci:
name: lint
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
pull_request:
branches: [ master ]

concurrency:
group: ci-${{ github.ref }}-regression
cancel-in-progress: true


env:
DISABLE_VERSION_CHECK: 1
# TODO Remove after https://github.com/drand/drand/pull/956 is merged, this is to get around the regression test failure
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- 'release/**'
pull_request:

concurrency:
group: ci-${{ github.ref }}-tests
cancel-in-progress: true

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

0 comments on commit 10ac3e4

Please sign in to comment.