Skip to content

Commit

Permalink
add: gha concurrency (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
notdodo authored Nov 18, 2023
1 parent 0e41ac4 commit 99eedc6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ permissions:
contents: read
pull-requests: read

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

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

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

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

0 comments on commit 99eedc6

Please sign in to comment.