Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 0 additions & 58 deletions .github/actions/test-robot-check/action.yml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/actions/test-robot-label/action.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/actions/test-robot-unlabel/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/all-green.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
- uses: actions/checkout@v4

- name: All Green
uses: getdevopspro/github-actions/all-green@v6.1.1
uses: getdevopspro/github-actions/all-green@v6.2.4
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:
name: Build
uses: getdevopspro/github-actions/.github/workflows/build.yml@v6.1.1
uses: getdevopspro/github-actions/.github/workflows/build.yml@v6.2.4
with:
version-package: package.json
version-package-lock: package-lock.json
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [labeled]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.event.label.name }}
cancel-in-progress: true

permissions:
Expand All @@ -21,4 +21,4 @@ jobs:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
secrets:
token: ${{ secrets.BOT_PR_TOKEN }}
token: ${{ secrets.BOT_REPO_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
Expand All @@ -22,7 +22,7 @@ jobs:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
secrets:
token: ${{ secrets.BOT_PR_TOKEN }}
token: ${{ secrets.BOT_REPO_TOKEN }}

build:
needs: test-robot-unlabel
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ jobs:
promote:
name: Job
needs: build
uses: getdevopspro/github-actions/.github/workflows/promote.yml@v6.1.1
uses: getdevopspro/github-actions/.github/workflows/promote.yml@v6.2.4
secrets:
# To bypass ruleset enforcing checks
checkout-token: ${{ secrets.BOT_RELEASE_CHECKOUT_TOKEN }}
checkout-token: ${{ secrets.BOT_REPO_TOKEN }}
with:
version-package: package.json
git-add-files: package.json
version-package-lock: package-lock.json
git-add-files: package.json package-lock.json
git-user-name: getdevopspro-cibot
git-user-email: 203600057+getdevopspro-cibot@users.noreply.github.com
image-digests: ${{ needs.build.outputs.image-digests }}
9 changes: 5 additions & 4 deletions .github/workflows/test-robot-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
default: 'test-robot-needed'
secrets:
token:
description: 'PAT used to post comments'
description: 'GitHub token or PAT'
required: false

permissions:
Expand All @@ -31,8 +31,9 @@ jobs:
- uses: actions/checkout@v4

- name: Robot Test Check
uses: ./.github/actions/test-robot-check
uses: getdevopspro/github-actions/test/check@v6.2.4
with:
label-test-robot-done: ${{ inputs.label-test-robot-done }}
label-test-robot-needed: ${{ inputs.label-test-robot-needed }}
label-done: ${{ inputs.label-test-robot-done }}
label-needed: ${{ inputs.label-test-robot-needed }}
test-name: Robot
token: ${{ secrets.token }}
13 changes: 7 additions & 6 deletions .github/workflows/test-robot-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
default: 'test-robot-needed'
secrets:
token:
description: 'PAT used to post comments'
description: 'GitHub token or PAT'
required: false

permissions:
Expand All @@ -33,14 +33,15 @@ jobs:
- uses: actions/checkout@v4

- name: Robot Test Label
uses: ./.github/actions/test-robot-label
uses: getdevopspro/github-actions/test/label@v6.2.4
with:
label-test-robot-done: ${{ inputs.label-test-robot-done }}
label-test-robot-needed: ${{ inputs.label-test-robot-needed }}
label-done: ${{ inputs.label-test-robot-done }}
label-needed: ${{ inputs.label-test-robot-needed }}
test-name: Robot
token: ${{ secrets.token }}

- name: Rerun pull-request workflow
uses: getdevopspro/github-actions/pr/checks-rerun@v6.1.1
uses: getdevopspro/github-actions/pr/checks-rerun@v6.2.4
with:
workflow-id: pull-request.yml
github-token: ${{ secrets.token }}
token: ${{ secrets.token }}
11 changes: 6 additions & 5 deletions .github/workflows/test-robot-unlabel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
default: 'test-robot-needed'
secrets:
token:
description: 'PAT used to post comments'
description: 'GitHub token or PAT'
required: false

permissions:
Expand All @@ -26,13 +26,14 @@ jobs:
test-robot-unlabel:
if: contains(github.event.pull_request.labels.*.name, inputs.label-test-robot-done)
name: Robot Test Unlabel
runs-on: ubuntu-latest
runs-on: ubuntu-latest|
steps:
- uses: actions/checkout@v4

- name: Robot Test Unlabel
uses: ./.github/actions/test-robot-unlabel
uses: getdevopspro/github-actions/test/unlabel@v6.2.4
with:
label-test-robot-done: ${{ inputs.label-test-robot-done }}
label-test-robot-needed: ${{ inputs.label-test-robot-needed }}
label-done: ${{ inputs.label-test-robot-done }}
label-needed: ${{ inputs.label-test-robot-needed }}
test-name: Robot
token: ${{ secrets.token }}
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading