Skip to content

Commit

Permalink
feat(release.yaml): define default concurrency group (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiyangW authored Feb 4, 2025
1 parent e3d398f commit 52ee23d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ on:
CONTAINER_IMAGE_SCAN_RESULT_COS_API_KEY:
required: false

concurrency:
group: ${{ github.ref_name != 'main' && github.ref_name != 'master' && format('build-{0}', github.ref_name) }}
cancel-in-progress: ${{ github.ref_name != 'main' && github.ref_name != 'master' }}

jobs:
needs-scan-for-vulnerabilities:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 52ee23d

Please sign in to comment.