Skip to content

Commit

Permalink
tests: setup concurrency for lint and ci workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Sep 22, 2024
1 parent 559c1e7 commit ef9969a
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 ef9969a

Please sign in to comment.