Skip to content

Commit 04c44e2

Browse files
committed
move concurrency configuration to the job level
(i haven't been able to find definitive documentation, but i suspect it's not supported at the composite action level)
1 parent 111fff0 commit 04c44e2

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/actions/build-release-candidate/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ outputs:
77
image_cache_key:
88
description: "Cache key for the .tar of the docker image"
99
value: ${{ steps.create-image-identifier.outputs.image }}
10-
11-
concurrency:
12-
group: build-release-candidate-${{ github.repository }}-${{ github.ref }}
13-
cancel-in-progress: false
1410

1511
runs:
1612
using: "composite"

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
name: Build and publish
5353
runs-on: ubuntu-latest
5454
needs: get-commit-hash
55-
concurrency: build-and-publish-${{ inputs.app_name }}-${{ needs.get-commit-hash.outputs.commit_hash }}
55+
concurrency: build-${{ inputs.app_name }}-${{ github.ref }}
5656

5757
permissions:
5858
contents: read

.github/workflows/vulnerability-scans.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
outputs:
4848
image: ${{ steps.build-release-candidate.outputs.image_cache_key }}
4949

50+
concurrency: build-${{ inputs.app_name }}-${{ github.ref }}
51+
5052
steps:
5153
- uses: actions/checkout@v4
5254

0 commit comments

Comments
 (0)