Skip to content

Commit 8463c43

Browse files
refactor: use external composite actions
1 parent 12dc442 commit 8463c43

11 files changed

Lines changed: 14 additions & 206 deletions

File tree

.github/actions/test/check/action.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/actions/test/label/action.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/actions/test/unlabel/action.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/all-green.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
- uses: actions/checkout@v4
1212

1313
- name: All Green
14-
uses: getdevopspro/github-actions/all-green@v6.1.1
14+
uses: getdevopspro/github-actions/all-green@v6.2.2

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
build:
1212
name: Build
13-
uses: getdevopspro/github-actions/.github/workflows/build.yml@v6.1.1
13+
uses: getdevopspro/github-actions/.github/workflows/build.yml@v6.2.2
1414
with:
1515
version-package: package.json
1616
version-package-lock: package-lock.json

.github/workflows/pull-request-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [labeled]
66

77
concurrency:
8-
group: ${{ github.workflow }}-${{ github.ref }}
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
99
cancel-in-progress: true
1010

1111
permissions:

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [opened, synchronize, reopened]
66

77
concurrency:
8-
group: ${{ github.workflow }}-${{ github.ref }}
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
99
cancel-in-progress: true
1010

1111
permissions:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
promote:
2525
name: Job
2626
needs: build
27-
uses: getdevopspro/github-actions/.github/workflows/promote.yml@v6.1.1
27+
uses: getdevopspro/github-actions/.github/workflows/promote.yml@v6.2.2
2828
secrets:
2929
# To bypass ruleset enforcing checks
3030
checkout-token: ${{ secrets.BOT_REPO_TOKEN }}

.github/workflows/test-robot-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
default: 'test-robot-needed'
1616
secrets:
1717
token:
18-
description: 'PAT used to post comments'
18+
description: 'GitHub token or PAT'
1919
required: false
2020

2121
permissions:
@@ -31,7 +31,7 @@ jobs:
3131
- uses: actions/checkout@v4
3232

3333
- name: Robot Test Check
34-
uses: ./.github/actions/test/check
34+
uses: getdevopspro/github-actions/test/check@v6.2.2
3535
with:
3636
label-done: ${{ inputs.label-test-robot-done }}
3737
label-needed: ${{ inputs.label-test-robot-needed }}

.github/workflows/test-robot-label.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
default: 'test-robot-needed'
1616
secrets:
1717
token:
18-
description: 'PAT used to post comments'
18+
description: 'GitHub token or PAT'
1919
required: false
2020

2121
permissions:
@@ -33,15 +33,15 @@ jobs:
3333
- uses: actions/checkout@v4
3434

3535
- name: Robot Test Label
36-
uses: ./.github/actions/test/label
36+
uses: getdevopspro/github-actions/test/label@v6.2.2
3737
with:
3838
label-done: ${{ inputs.label-test-robot-done }}
3939
label-needed: ${{ inputs.label-test-robot-needed }}
4040
test-name: Robot
4141
token: ${{ secrets.token }}
4242

4343
- name: Rerun pull-request workflow
44-
uses: getdevopspro/github-actions/pr/checks-rerun@v6.1.1
44+
uses: getdevopspro/github-actions/pr/checks-rerun@v6.2.2
4545
with:
4646
workflow-id: pull-request.yml
47-
github-token: ${{ secrets.token }}
47+
token: ${{ secrets.token }}

0 commit comments

Comments
 (0)