Skip to content

Commit 865a3c6

Browse files
committed
Cancel superseded builds for each branch and tag
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
1 parent 1fbf3a7 commit 865a3c6

14 files changed

Lines changed: 29 additions & 9 deletions

File tree

‎.github/workflows/build.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
workflow_dispatch:
1111

1212
concurrency:
13-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
13+
group: ${{ github.workflow }}-${{ github.ref }}
1414
cancel-in-progress: true
1515

1616
permissions:

‎javascript/site-react/.github/workflows/build.yaml.jinja‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
pull_request:
88
workflow_dispatch:
99

10+
concurrency:
11+
group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %}
12+
cancel-in-progress: true
13+
1014
permissions:
1115
contents: read
1216

‎javascript/site-sveltekit/.github/workflows/build.yaml.jinja‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
pull_request:
88
workflow_dispatch:
99

10+
concurrency:
11+
group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %}
12+
cancel-in-progress: true
13+
1014
permissions:
1115
contents: read
1216

‎javascript/site-webawesome/.github/workflows/build.yaml.jinja‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
pull_request:
88
workflow_dispatch:
99

10+
concurrency:
11+
group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %}
12+
cancel-in-progress: true
13+
1014
permissions:
1115
contents: read
1216

‎javascript/uitk-svelte/.github/workflows/build.yaml.jinja‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
pull_request:
88
workflow_dispatch:
99

10+
concurrency:
11+
group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %}
12+
cancel-in-progress: true
13+
1014
permissions:
1115
contents: read
1216

‎javascript/uitk-webawesome/.github/workflows/build.yaml.jinja‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
pull_request:
88
workflow_dispatch:
99

10+
concurrency:
11+
group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %}
12+
cancel-in-progress: true
13+
1014
permissions:
1115
contents: read
1216

‎python/cpp/.github/workflows/build.yaml.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
workflow_dispatch:
1616

1717
concurrency:
18-
group: {% raw %}${{ github.workflow }}-${{ github.head_ref || github.run_id }}{% endraw %}
18+
group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %}
1919
cancel-in-progress: true
2020

2121
permissions:

‎python/cppjswasm/.github/workflows/build.yaml.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
workflow_dispatch:
1616

1717
concurrency:
18-
group: {% raw %}${{ github.workflow }}-${{ github.head_ref || github.run_id }}{% endraw %}
18+
group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %}
1919
cancel-in-progress: true
2020

2121
permissions:

‎python/cython/.github/workflows/build.yaml.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
workflow_dispatch:
1616

1717
concurrency:
18-
group: {% raw %}${{ github.workflow }}-${{ github.head_ref || github.run_id }}{% endraw %}
18+
group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %}
1919
cancel-in-progress: true
2020

2121
permissions:

‎python/js/.github/workflows/build.yaml.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
workflow_dispatch:
1616

1717
concurrency:
18-
group: {% raw %}${{ github.workflow }}-${{ github.head_ref || github.run_id }}{% endraw %}
18+
group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %}
1919
cancel-in-progress: true
2020

2121
permissions:

0 commit comments

Comments
 (0)