Skip to content

Commit a47feae

Browse files
remalremal-github-actions
andauthored
Template repository changes: remal-github-actions/template-typescript (#1307)
Co-authored-by: remal-github-actions <77626445+remal-github-actions+sync-with-template@users.noreply.github.com>
1 parent edc5ae7 commit a47feae

File tree

6 files changed

+24
-20
lines changed

6 files changed

+24
-20
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- main
77
pull_request: { }
88

9+
concurrency:
10+
group: build-${{github.ref}}
11+
cancel-in-progress: true
12+
913
defaults:
1014
run:
1115
shell: bash
@@ -20,8 +24,6 @@ jobs:
2024
name: build
2125
runs-on: ubuntu-latest
2226
timeout-minutes: 15
23-
concurrency: build-${{github.ref}}
24-
2527
steps:
2628
- name: Checkout repository
2729
uses: actions/checkout@v5

.github/workflows/bump-repository-activity.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ on:
2727
permissions:
2828
contents: write
2929

30+
concurrency:
31+
group: bump-repository-activity-${{github.ref}}
32+
cancel-in-progress: true
33+
3034
defaults:
3135
run:
3236
shell: bash
@@ -36,9 +40,6 @@ jobs:
3640
name: Bump repository activity
3741
runs-on: ubuntu-latest
3842
timeout-minutes: 5
39-
concurrency:
40-
group: bump-repository-activity
41-
cancel-in-progress: true
4243
steps:
4344
- name: Get rate limits
4445
uses: remal-github-actions/get-rate-limits@v1

.github/workflows/check-action-secrets.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- cron: '1 3 * * *' # sync-with-template: adjust
1212
workflow_dispatch: { }
1313

14+
concurrency:
15+
group: check-action-secrets-${{github.ref}}
16+
cancel-in-progress: true
17+
1418
defaults:
1519
run:
1620
shell: bash
@@ -20,9 +24,6 @@ jobs:
2024
name: Check action secrets
2125
runs-on: ubuntu-latest
2226
timeout-minutes: 5
23-
concurrency:
24-
group: check-action-secrets
25-
cancel-in-progress: true
2627
steps:
2728
- name: Get rate limits
2829
uses: remal-github-actions/get-rate-limits@v1

.github/workflows/codeowners-validator.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ on:
1616
permissions:
1717
contents: read
1818

19+
concurrency:
20+
group: codeowners-validation-${{github.ref}}
21+
cancel-in-progress: true
22+
1923
env:
2024
VALIDATION_TOKEN: ${{secrets.CODEOWNERS_VALIDATOR_TOKEN && secrets.CODEOWNERS_VALIDATOR_TOKEN || github.token}}
2125

@@ -24,9 +28,6 @@ jobs:
2428
name: Check rate limits
2529
runs-on: ubuntu-latest
2630
timeout-minutes: 5
27-
concurrency:
28-
group: codeowners-validation
29-
cancel-in-progress: true
3031
steps:
3132
- name: Get rate limits
3233
uses: remal-github-actions/get-rate-limits@v1
@@ -58,9 +59,6 @@ jobs:
5859
if: ${{fromJSON(needs.rate-limits.outputs.enough) == true}}
5960
runs-on: ubuntu-latest
6061
timeout-minutes: 15
61-
concurrency:
62-
group: codeowners-validation
63-
cancel-in-progress: true
6462
steps:
6563
- name: Checkout repository
6664
uses: actions/checkout@v5

.github/workflows/rebase-dependabot-pull-requests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- cron: '57 2/4 * * *' # sync-with-template: adjust
1212
workflow_dispatch: { }
1313

14+
concurrency:
15+
group: rebase-dependabot-pull-requests-${{github.ref}}
16+
cancel-in-progress: true
17+
1418
defaults:
1519
run:
1620
shell: bash
@@ -23,9 +27,6 @@ jobs:
2327
name: Rebase Dependabot pull requests
2428
runs-on: ubuntu-latest
2529
timeout-minutes: 15
26-
concurrency:
27-
group: rebase-dependabot-pull-requests
28-
cancel-in-progress: true
2930
steps:
3031
- name: Get rate limits
3132
uses: remal-github-actions/get-rate-limits@v1

.github/workflows/sync-with-template.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ on:
2222
- 'true'
2323
- 'false'
2424

25+
concurrency:
26+
group: sync-with-template-${{github.ref}}
27+
cancel-in-progress: true
28+
2529
defaults:
2630
run:
2731
shell: bash
@@ -34,9 +38,6 @@ jobs:
3438
name: Sync with template repository
3539
runs-on: ubuntu-latest
3640
timeout-minutes: 30
37-
concurrency:
38-
group: sync-with-template
39-
cancel-in-progress: true
4041
steps:
4142
- name: Get rate limits
4243
uses: remal-github-actions/get-rate-limits@v1

0 commit comments

Comments
 (0)