Skip to content

Commit 9884ca9

Browse files
chore: cancel old GA jobs when new commit is pushed (#18167)
cancel stale jobs, to preserve room in queue for new ones
1 parent fb0c1b9 commit 9884ca9

5 files changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/bigtable-conformance.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
permissions:
22
contents: read
33

4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
6+
cancel-in-progress: true
7+
48
on:
59
pull_request:
610
paths:

.github/workflows/django-spanner-django5.2_tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
permissions:
22
contents: read
33

4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
6+
cancel-in-progress: true
7+
48
on:
59
pull_request:
610
paths:

.github/workflows/import-profiler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
permissions:
1313
contents: read
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
1519
jobs:
1620
initialize:
1721
runs-on: ubuntu-latest

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ name: lint
1212
permissions:
1313
contents: read
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
1519
env:
1620
NOX_REUSE_EXISTING_VIRTUALENVS: "true"
1721
NOX_ENVDIR: "/tmp/shared_nox_envs"

.github/workflows/unittest.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ name: unittest
1212
permissions:
1313
contents: read
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
1519
env:
1620
PACKAGE_DIRS: packages preview-packages
1721
NOX_REUSE_EXISTING_VIRTUALENVS: "true"

0 commit comments

Comments
 (0)