Skip to content

Commit

Permalink
Merge pull request #173 from dokku/ci-cancel-concurrency
Browse files Browse the repository at this point in the history
tests: setup concurrency for lint and ci workflows
  • Loading branch information
josegonzalez authored Sep 22, 2024
2 parents 559c1e7 + ef9969a commit 99b8f3b
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 @@ -10,6 +10,10 @@ on:
branches:
- "main"

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

jobs:
build:
name: build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
branches:
- "main"

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

jobs:
hadolint:
name: hadolint
Expand Down

0 comments on commit 99b8f3b

Please sign in to comment.