Skip to content

Commit

Permalink
Set concurrency in workflows to run one workflow at a time for one br…
Browse files Browse the repository at this point in the history
…anch (#169)
  • Loading branch information
kumaranvpl authored Sep 10, 2024
1 parent 37f98ef commit 5e9cc7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
static-analysis:
strategy:
Expand Down

0 comments on commit 5e9cc7b

Please sign in to comment.