Skip to content

Commit

Permalink
add concurrency defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
james-jdgtl committed Dec 16, 2024
1 parent 5782d9b commit f48df4e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ permissions:
contents: read
packages: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
# This will cancel all running build/test/release pipelines that are not on the main branch
# Any pipelines on the main branch will wait until existing runs complete
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
helm_lint:
name: helm lint
Expand Down

0 comments on commit f48df4e

Please sign in to comment.