Skip to content

Commit

Permalink
Make group attribute for concurrency consistent
Browse files Browse the repository at this point in the history
Make all groups names be in the format of: workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}
  • Loading branch information
ceddy4395 committed Apr 30, 2024
1 parent 5c5fe5f commit f16fe85
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/micronaut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ env:
permissions:
contents: read # to fetch code (actions/checkout)

concurrency:
group: ${{github.workflow}}
concurrency:
group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}"
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quarkus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ on:
workflow_dispatch:

concurrency:
group: ${{github.workflow}} - ${{github.ref}}
group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}"
cancel-in-progress: true

env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/reachability-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ env:
permissions:
contents: read # to fetch code (actions/checkout)

concurrency:
group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}"
cancel-in-progress: true

jobs:
build-graalvm-and-populate-matrix:
name: Build GraalVM and populate matrix
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/spring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ env:
SPRING_PETCLINIC_PATH: ${{ github.workspace }}/spring-petclinic
SPRING_JAVA_VERSION: 21

concurrency:
group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}"
cancel-in-progress: true

permissions:
contents: read # to fetch code (actions/checkout)

Expand Down

0 comments on commit f16fe85

Please sign in to comment.