Skip to content

Commit

Permalink
4.x pr merge workflow concurrency (#8924)
Browse files Browse the repository at this point in the history
* Remove unnecessary comment
* Hardcode workflow name in validate because github.workflow is inherited from parent
  • Loading branch information
barchetta authored Jun 28, 2024
1 parent 66a2d9e commit 41873b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pr-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ jobs:
validate:
uses: ./.github/workflows/validate.yml
snapshot:
# Run validation then deploy snapshot release
needs: validate
uses: ./.github/workflows/snapshotrelease.yaml
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
MAVEN_HTTP_ARGS: '-Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -Dmaven.wagon.http.retryHandler.count=3'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: Validate-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down

0 comments on commit 41873b3

Please sign in to comment.