Skip to content

Commit 0ea1228

Browse files
committed
[2.24] Add concurrency to some githubactions
1 parent 814a32a commit 0ea1228

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.github/workflows/size-labeler.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ jobs:
1111
add-pr-size-label:
1212
runs-on: ubuntu-latest
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{github.event.pull_request.number}}
16+
cancel-in-progress: true
17+
1418
steps:
15-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
1620

1721
- name: Install uv
1822
uses: astral-sh/setup-uv@v6

.github/workflows/tox-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ jobs:
88
tox-tests:
99
runs-on: ubuntu-latest
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{github.event.pull_request.number}}
13+
cancel-in-progress: true
14+
1115
steps:
12-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1317

1418
- name: Install uv
1519
uses: astral-sh/setup-uv@v6

.github/workflows/verify_build_container.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{github.event.pull_request.number}}
13+
cancel-in-progress: true
14+
15+
16+
1117
steps:
1218
- name: Checkout Pull Request Branch
13-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
1420
with:
1521
ref: ${{ github.event.pull_request.head.sha }}
1622

0 commit comments

Comments
 (0)