Skip to content

Commit 44e6568

Browse files
committed
fix: update concurrency group definition in workflow files
1 parent 9d6d266 commit 44e6568

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- cron: "0 11 * * *"
99

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.ref }}
11+
group: ${{ github.workflow }}-${{ github.event.compare || github.head_ref || github.ref }}
1212
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1313

1414
env:

.github/workflows/cargo-audit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- cron: 0 11 * * *
1212

1313
concurrency:
14-
group: ${{ github.workflow }}-${{ github.ref }}
14+
group: ${{ github.workflow }}-${{ github.event.compare || github.head_ref || github.ref }}
1515
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1616

1717
jobs:

.github/workflows/code-formatting-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- cron: 0 11 * * *
99

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.ref }}
11+
group: ${{ github.workflow }}-${{ github.event.compare || github.head_ref || github.ref }}
1212
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1313

1414
jobs:

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- cron: "0 11 * * *"
99

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.ref }}
11+
group: ${{ github.workflow }}-${{ github.event.compare || github.head_ref || github.ref }}
1212
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1313

1414
env:

.github/workflows/github-dependency-review.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
merge_group:
77

88
concurrency:
9-
group: ${{ github.workflow }}-${{ github.ref }}
9+
group: ${{ github.workflow }}-${{ github.event.compare || github.head_ref || github.ref }}
1010
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1111

1212
jobs:

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- cron: "0 11 * * *"
99

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.ref }}
11+
group: ${{ github.workflow }}-${{ github.event.compare || github.head_ref || github.ref }}
1212
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1313

1414
jobs:

0 commit comments

Comments
 (0)