Skip to content

Commit 1a2b103

Browse files
committed
chore(github): make all workflows (except release) concurrent by sha
1 parent 5e1bc46 commit 1a2b103

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/ci-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
contents: read # Needed to checkout the repository.
1111

1212
concurrency:
13-
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
13+
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.sha }}"
1414
cancel-in-progress: true
1515

1616
jobs:

.github/workflows/ci-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
contents: read # Needed to checkout the repository.
1313

1414
concurrency:
15-
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
15+
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.sha }}"
1616
cancel-in-progress: true
1717

1818
jobs:

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
contents: read # Needed to checkout the repository.
1313

1414
concurrency:
15-
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
15+
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.sha }}"
1616
cancel-in-progress: true
1717

1818
jobs:

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919
contents: read # Needed to checkout the repository.
2020

2121
concurrency:
22-
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
22+
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.sha }}"
2323
cancel-in-progress: true
2424

2525
jobs:

0 commit comments

Comments
 (0)