From 3b8d2d3a47bf3e0793fae3ebe4c4364099b71f6d Mon Sep 17 00:00:00 2001 From: getdevopspro-cibot <203600057+getdevopspro-cibot@users.noreply.github.com> Date: Thu, 19 Feb 2026 08:28:39 -0600 Subject: [PATCH 1/4] refactor(test): use generic test actions --- .../check}/action.yml | 39 +++++++++++-------- .../label}/action.yml | 33 +++++++++------- .../unlabel}/action.yml | 31 ++++++++------- .github/workflows/test-robot-check.yml | 7 ++-- .github/workflows/test-robot-label.yml | 7 ++-- .github/workflows/test-robot-unlabel.yml | 7 ++-- 6 files changed, 71 insertions(+), 53 deletions(-) rename .github/actions/{test-robot-check => test/check}/action.yml (53%) rename .github/actions/{test-robot-label => test/label}/action.yml (63%) rename .github/actions/{test-robot-unlabel => test/unlabel}/action.yml (67%) diff --git a/.github/actions/test-robot-check/action.yml b/.github/actions/test/check/action.yml similarity index 53% rename from .github/actions/test-robot-check/action.yml rename to .github/actions/test/check/action.yml index 98a5c0f..8711ae4 100644 --- a/.github/actions/test-robot-check/action.yml +++ b/.github/actions/test/check/action.yml @@ -1,15 +1,19 @@ -name: "Robot Test Check Labels" -description: "Fails if test-robot-needed is present but test-robot-done is not." +name: "Test Check Labels" +description: "Fails if label-needed is present but label-done is not." inputs: - label-test-robot-needed: - description: 'Label indicating the PR needs robot testing' + label-needed: + description: 'Label indicating the PR needs testing' required: false - default: 'test-robot-needed' - label-test-robot-done: - description: 'Label indicating the PR has been robot-tested' + default: 'test-needed' + label-done: + description: 'Label indicating the PR has been tested' required: false - default: 'test-robot-done' + default: 'test-done' + test-name: + description: 'Name of the test type used in comments (e.g. Robot)' + required: false + default: 'Test' token: description: 'GitHub token or PAT used to post comments (defaults to github.token)' required: false @@ -18,13 +22,14 @@ inputs: runs: using: "composite" steps: - - name: Check robot test labels + - name: Check test labels uses: actions/github-script@v7 with: github-token: ${{ inputs.token || github.token }} script: | - const labelNeeded = '${{ inputs.label-test-robot-needed }}'; - const labelDone = '${{ inputs.label-test-robot-done }}'; + const labelNeeded = '${{ inputs.label-needed }}'; + const labelDone = '${{ inputs.label-done }}'; + const testName = '${{ inputs.test-name }}'; const { number: pr, head: { sha } } = context.payload.pull_request; const repo = context.repo; @@ -40,19 +45,19 @@ runs: const has = new Set(labels.map(l => l.name)); if (!has.has(labelNeeded)) { - core.info(`\`${labelNeeded}\` not present. No robot testing required.`); + core.info(`\`${labelNeeded}\` not present. No ${testName} testing required.`); return; } if (has.has(labelDone)) { - core.info(`\`${labelDone}\` present. Robot testing confirmed.`); + core.info(`\`${labelDone}\` present. ${testName} testing confirmed.`); return; } const shaLine = sha ? `\n\n**Commit:** \`${sha}\`` : ''; await postComment( - `### ❌ Robot Testing Required\n\n` + - `\`${labelNeeded}\` is present but \`${labelDone}\` has not been added. This PR cannot be merged until robot testing is complete.${shaLine}\n\n` + - `> [!IMPORTANT]\n> Add \`${labelDone}\` once robot testing is complete.` + `### ❌ ${testName} Testing Required\n\n` + + `\`${labelNeeded}\` is present but \`${labelDone}\` has not been added. This PR cannot be merged until ${testName} testing is complete.${shaLine}\n\n` + + `> [!IMPORTANT]\n> Add \`${labelDone}\` once ${testName} testing is complete.` ); - core.setFailed(`\`${labelNeeded}\` is present but \`${labelDone}\` has not been added. Robot testing must be completed before merging.`); + core.setFailed(`\`${labelNeeded}\` is present but \`${labelDone}\` has not been added. ${testName} testing must be completed before merging.`); diff --git a/.github/actions/test-robot-label/action.yml b/.github/actions/test/label/action.yml similarity index 63% rename from .github/actions/test-robot-label/action.yml rename to .github/actions/test/label/action.yml index 09dd558..9d4592a 100644 --- a/.github/actions/test-robot-label/action.yml +++ b/.github/actions/test/label/action.yml @@ -1,15 +1,19 @@ -name: "Robot Test Label" -description: "When the test-robot-done label is added, posts a comment confirming the robot test status." +name: "Test Label" +description: "When the label-done label is added, posts a comment confirming the test status." inputs: - label-test-robot-needed: - description: 'Label indicating the PR needs robot testing' + label-needed: + description: 'Label indicating the PR needs testing' required: false - default: 'test-robot-needed' - label-test-robot-done: - description: 'Label indicating the PR has been robot-tested' + default: 'test-needed' + label-done: + description: 'Label indicating the PR has been tested' required: false - default: 'test-robot-done' + default: 'test-done' + test-name: + description: 'Name of the test type used in comments (e.g. Robot)' + required: false + default: 'Test' token: description: 'GitHub token or PAT used to post comments (defaults to github.token)' required: false @@ -23,8 +27,9 @@ runs: with: github-token: ${{ inputs.token || github.token }} script: | - const labelDone = '${{ inputs.label-test-robot-done }}'; - const labelNeeded = '${{ inputs.label-test-robot-needed }}'; + const labelDone = '${{ inputs.label-done }}'; + const labelNeeded = '${{ inputs.label-needed }}'; + const testName = '${{ inputs.test-name }}'; const { number: pr, head: { sha } } = context.payload.pull_request; const repo = context.repo; @@ -44,9 +49,9 @@ runs: if (has.has(labelNeeded)) { core.warning(`\`${labelDone}\` not found. \`${labelNeeded}\` is present but testing is not confirmed.`); await postComment( - `### ⚠️ Robot Testing Incomplete\n\n` + + `### ⚠️ ${testName} Testing Incomplete\n\n` + `\`${labelNeeded}\` is present but \`${labelDone}\` has not been added yet.${shaLine}\n\n` + - `> [!WARNING]\n> Add \`${labelDone}\` once robot testing is complete.` + `> [!WARNING]\n> Add \`${labelDone}\` once ${testName} testing is complete.` ); } else { core.info(`\`${labelDone}\` not present. Nothing to do.`); @@ -56,6 +61,6 @@ runs: core.info(`\`${labelDone}\` found. Posting confirmation comment.`); await postComment( - `### ✅ Robot Test Complete\n\n` + - `\`${labelDone}\` has been added. Robot testing has been confirmed for this PR.${shaLine}` + `### ✅ ${testName} Complete\n\n` + + `\`${labelDone}\` has been added. ${testName} testing has been confirmed for this PR.${shaLine}` ); diff --git a/.github/actions/test-robot-unlabel/action.yml b/.github/actions/test/unlabel/action.yml similarity index 67% rename from .github/actions/test-robot-unlabel/action.yml rename to .github/actions/test/unlabel/action.yml index c975e7a..05c563b 100644 --- a/.github/actions/test-robot-unlabel/action.yml +++ b/.github/actions/test/unlabel/action.yml @@ -1,15 +1,19 @@ -name: "Robot Test Unlabel" -description: "On new commits, removes the test-robot-done label if present and posts a comment." +name: "Test Unlabel" +description: "On new commits, removes the label-done label if present and posts a comment." inputs: - label-test-robot-needed: - description: 'Label indicating the PR needs robot testing' + label-needed: + description: 'Label indicating the PR needs testing' required: false - default: 'test-robot-needed' - label-test-robot-done: - description: 'Label indicating the PR has been robot-tested' + default: 'test-needed' + label-done: + description: 'Label indicating the PR has been tested' required: false - default: 'test-robot-done' + default: 'test-done' + test-name: + description: 'Name of the test type used in comments (e.g. Robot)' + required: false + default: 'Test' token: description: 'GitHub token or PAT used to remove labels and post comments (defaults to github.token)' required: false @@ -23,8 +27,9 @@ runs: with: github-token: ${{ inputs.token || github.token }} script: | - const labelDone = '${{ inputs.label-test-robot-done }}'; - const labelNeeded = '${{ inputs.label-test-robot-needed }}'; + const labelDone = '${{ inputs.label-done }}'; + const labelNeeded = '${{ inputs.label-needed }}'; + const testName = '${{ inputs.test-name }}'; const { number: pr, head: { sha } } = context.payload.pull_request; const repo = context.repo; @@ -49,10 +54,10 @@ runs: const shaLine = sha ? `\n\n**Commit:** \`${sha}\`` : ''; const warning = !has.has(labelNeeded) - ? `\n\n> [!WARNING]\n> \`${labelDone}\` was removed but \`${labelNeeded}\` was not present. This PR may not be queued for robot testing.` + ? `\n\n> [!WARNING]\n> \`${labelDone}\` was removed but \`${labelNeeded}\` was not present. This PR may not be queued for ${testName} testing.` : ''; await postComment( - `### 🔄 Robot Test Label Removed\n\n` + - `New commits were pushed. \`${labelDone}\` has been removed and robot testing must be repeated.${shaLine}${warning}` + `### 🔄 ${testName} Label Removed\n\n` + + `New commits were pushed. \`${labelDone}\` has been removed and ${testName} testing must be repeated.${shaLine}${warning}` ); diff --git a/.github/workflows/test-robot-check.yml b/.github/workflows/test-robot-check.yml index 3f61168..8d04b6c 100644 --- a/.github/workflows/test-robot-check.yml +++ b/.github/workflows/test-robot-check.yml @@ -31,8 +31,9 @@ jobs: - uses: actions/checkout@v4 - name: Robot Test Check - uses: ./.github/actions/test-robot-check + uses: ./.github/actions/test/check 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 }} diff --git a/.github/workflows/test-robot-label.yml b/.github/workflows/test-robot-label.yml index 72cf479..8a934f9 100644 --- a/.github/workflows/test-robot-label.yml +++ b/.github/workflows/test-robot-label.yml @@ -33,10 +33,11 @@ jobs: - uses: actions/checkout@v4 - name: Robot Test Label - uses: ./.github/actions/test-robot-label + uses: ./.github/actions/test/label 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 diff --git a/.github/workflows/test-robot-unlabel.yml b/.github/workflows/test-robot-unlabel.yml index 1f8c8c2..76e6f73 100644 --- a/.github/workflows/test-robot-unlabel.yml +++ b/.github/workflows/test-robot-unlabel.yml @@ -31,8 +31,9 @@ jobs: - uses: actions/checkout@v4 - name: Robot Test Unlabel - uses: ./.github/actions/test-robot-unlabel + uses: ./.github/actions/test/unlabel 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 }} From 12dc442122628473ef47839253e40ca2a9beb51a Mon Sep 17 00:00:00 2001 From: getdevopspro-cibot <203600057+getdevopspro-cibot@users.noreply.github.com> Date: Thu, 19 Feb 2026 08:36:31 -0600 Subject: [PATCH 2/4] refactor(ci): rename secret name of bot token with repo permissions --- .github/workflows/pull-request-label.yml | 2 +- .github/workflows/pull-request.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request-label.yml b/.github/workflows/pull-request-label.yml index fe4b021..3cab207 100644 --- a/.github/workflows/pull-request-label.yml +++ b/.github/workflows/pull-request-label.yml @@ -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 }} diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index b628da6..161cc6f 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6b56e4..ea99075 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: uses: getdevopspro/github-actions/.github/workflows/promote.yml@v6.1.1 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 From a620b751fcd898d3fb8cf45fd81e2c575973de13 Mon Sep 17 00:00:00 2001 From: getdevopspro-cibot <203600057+getdevopspro-cibot@users.noreply.github.com> Date: Thu, 19 Feb 2026 08:45:12 -0600 Subject: [PATCH 3/4] refactor: use external composite actions --- .github/actions/test/check/action.yml | 63 ---------------------- .github/actions/test/label/action.yml | 66 ------------------------ .github/actions/test/unlabel/action.yml | 63 ---------------------- .github/workflows/all-green.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/pull-request-label.yml | 2 +- .github/workflows/pull-request.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test-robot-check.yml | 4 +- .github/workflows/test-robot-label.yml | 8 +-- .github/workflows/test-robot-unlabel.yml | 6 +-- package-lock.json | 4 +- 12 files changed, 16 insertions(+), 208 deletions(-) delete mode 100644 .github/actions/test/check/action.yml delete mode 100644 .github/actions/test/label/action.yml delete mode 100644 .github/actions/test/unlabel/action.yml diff --git a/.github/actions/test/check/action.yml b/.github/actions/test/check/action.yml deleted file mode 100644 index 8711ae4..0000000 --- a/.github/actions/test/check/action.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: "Test Check Labels" -description: "Fails if label-needed is present but label-done is not." - -inputs: - label-needed: - description: 'Label indicating the PR needs testing' - required: false - default: 'test-needed' - label-done: - description: 'Label indicating the PR has been tested' - required: false - default: 'test-done' - test-name: - description: 'Name of the test type used in comments (e.g. Robot)' - required: false - default: 'Test' - token: - description: 'GitHub token or PAT used to post comments (defaults to github.token)' - required: false - default: '' - -runs: - using: "composite" - steps: - - name: Check test labels - uses: actions/github-script@v7 - with: - github-token: ${{ inputs.token || github.token }} - script: | - const labelNeeded = '${{ inputs.label-needed }}'; - const labelDone = '${{ inputs.label-done }}'; - const testName = '${{ inputs.test-name }}'; - const { number: pr, head: { sha } } = context.payload.pull_request; - const repo = context.repo; - - const postComment = async (body) => { - try { - await github.rest.issues.createComment({ ...repo, issue_number: pr, body }); - } catch (err) { - core.warning(`Could not post comment: ${err.message}`); - } - }; - - const { data: labels } = await github.rest.issues.listLabelsOnIssue({ ...repo, issue_number: pr }); - const has = new Set(labels.map(l => l.name)); - - if (!has.has(labelNeeded)) { - core.info(`\`${labelNeeded}\` not present. No ${testName} testing required.`); - return; - } - - if (has.has(labelDone)) { - core.info(`\`${labelDone}\` present. ${testName} testing confirmed.`); - return; - } - - const shaLine = sha ? `\n\n**Commit:** \`${sha}\`` : ''; - await postComment( - `### ❌ ${testName} Testing Required\n\n` + - `\`${labelNeeded}\` is present but \`${labelDone}\` has not been added. This PR cannot be merged until ${testName} testing is complete.${shaLine}\n\n` + - `> [!IMPORTANT]\n> Add \`${labelDone}\` once ${testName} testing is complete.` - ); - core.setFailed(`\`${labelNeeded}\` is present but \`${labelDone}\` has not been added. ${testName} testing must be completed before merging.`); diff --git a/.github/actions/test/label/action.yml b/.github/actions/test/label/action.yml deleted file mode 100644 index 9d4592a..0000000 --- a/.github/actions/test/label/action.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: "Test Label" -description: "When the label-done label is added, posts a comment confirming the test status." - -inputs: - label-needed: - description: 'Label indicating the PR needs testing' - required: false - default: 'test-needed' - label-done: - description: 'Label indicating the PR has been tested' - required: false - default: 'test-done' - test-name: - description: 'Name of the test type used in comments (e.g. Robot)' - required: false - default: 'Test' - token: - description: 'GitHub token or PAT used to post comments (defaults to github.token)' - required: false - default: '' - -runs: - using: "composite" - steps: - - name: Comment on label added - uses: actions/github-script@v7 - with: - github-token: ${{ inputs.token || github.token }} - script: | - const labelDone = '${{ inputs.label-done }}'; - const labelNeeded = '${{ inputs.label-needed }}'; - const testName = '${{ inputs.test-name }}'; - const { number: pr, head: { sha } } = context.payload.pull_request; - const repo = context.repo; - - const postComment = async (body) => { - try { - await github.rest.issues.createComment({ ...repo, issue_number: pr, body }); - } catch (err) { - core.warning(`Could not post comment: ${err.message}`); - } - }; - - const { data: labels } = await github.rest.issues.listLabelsOnIssue({ ...repo, issue_number: pr }); - const has = new Set(labels.map(l => l.name)); - const shaLine = sha ? `\n\n**Commit:** \`${sha}\`` : ''; - - if (!has.has(labelDone)) { - if (has.has(labelNeeded)) { - core.warning(`\`${labelDone}\` not found. \`${labelNeeded}\` is present but testing is not confirmed.`); - await postComment( - `### ⚠️ ${testName} Testing Incomplete\n\n` + - `\`${labelNeeded}\` is present but \`${labelDone}\` has not been added yet.${shaLine}\n\n` + - `> [!WARNING]\n> Add \`${labelDone}\` once ${testName} testing is complete.` - ); - } else { - core.info(`\`${labelDone}\` not present. Nothing to do.`); - } - return; - } - - core.info(`\`${labelDone}\` found. Posting confirmation comment.`); - await postComment( - `### ✅ ${testName} Complete\n\n` + - `\`${labelDone}\` has been added. ${testName} testing has been confirmed for this PR.${shaLine}` - ); diff --git a/.github/actions/test/unlabel/action.yml b/.github/actions/test/unlabel/action.yml deleted file mode 100644 index 05c563b..0000000 --- a/.github/actions/test/unlabel/action.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: "Test Unlabel" -description: "On new commits, removes the label-done label if present and posts a comment." - -inputs: - label-needed: - description: 'Label indicating the PR needs testing' - required: false - default: 'test-needed' - label-done: - description: 'Label indicating the PR has been tested' - required: false - default: 'test-done' - test-name: - description: 'Name of the test type used in comments (e.g. Robot)' - required: false - default: 'Test' - token: - description: 'GitHub token or PAT used to remove labels and post comments (defaults to github.token)' - required: false - default: '' - -runs: - using: "composite" - steps: - - name: Remove label and comment - uses: actions/github-script@v7 - with: - github-token: ${{ inputs.token || github.token }} - script: | - const labelDone = '${{ inputs.label-done }}'; - const labelNeeded = '${{ inputs.label-needed }}'; - const testName = '${{ inputs.test-name }}'; - const { number: pr, head: { sha } } = context.payload.pull_request; - const repo = context.repo; - - const postComment = async (body) => { - try { - await github.rest.issues.createComment({ ...repo, issue_number: pr, body }); - } catch (err) { - core.warning(`Could not post comment: ${err.message}`); - } - }; - - const { data: labels } = await github.rest.issues.listLabelsOnIssue({ ...repo, issue_number: pr }); - const has = new Set(labels.map(l => l.name)); - - if (!has.has(labelDone)) { - core.info(`\`${labelDone}\` not present. Nothing to do.`); - return; - } - - await github.rest.issues.removeLabel({ ...repo, issue_number: pr, name: labelDone }); - core.info(`\`${labelDone}\` removed.`); - - const shaLine = sha ? `\n\n**Commit:** \`${sha}\`` : ''; - const warning = !has.has(labelNeeded) - ? `\n\n> [!WARNING]\n> \`${labelDone}\` was removed but \`${labelNeeded}\` was not present. This PR may not be queued for ${testName} testing.` - : ''; - - await postComment( - `### 🔄 ${testName} Label Removed\n\n` + - `New commits were pushed. \`${labelDone}\` has been removed and ${testName} testing must be repeated.${shaLine}${warning}` - ); diff --git a/.github/workflows/all-green.yml b/.github/workflows/all-green.yml index b3f0d62..1293b16 100644 --- a/.github/workflows/all-green.yml +++ b/.github/workflows/all-green.yml @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a650cf..b0d6785 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/pull-request-label.yml b/.github/workflows/pull-request-label.yml index 3cab207..8100e75 100644 --- a/.github/workflows/pull-request-label.yml +++ b/.github/workflows/pull-request-label.yml @@ -5,7 +5,7 @@ on: types: [labeled] concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true permissions: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 161cc6f..7993099 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea99075..7b76e54 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ 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_REPO_TOKEN }} diff --git a/.github/workflows/test-robot-check.yml b/.github/workflows/test-robot-check.yml index 8d04b6c..2610769 100644 --- a/.github/workflows/test-robot-check.yml +++ b/.github/workflows/test-robot-check.yml @@ -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: @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v4 - name: Robot Test Check - uses: ./.github/actions/test/check + uses: getdevopspro/github-actions/test/check@v6.2.4 with: label-done: ${{ inputs.label-test-robot-done }} label-needed: ${{ inputs.label-test-robot-needed }} diff --git a/.github/workflows/test-robot-label.yml b/.github/workflows/test-robot-label.yml index 8a934f9..5252f18 100644 --- a/.github/workflows/test-robot-label.yml +++ b/.github/workflows/test-robot-label.yml @@ -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: @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - name: Robot Test Label - uses: ./.github/actions/test/label + uses: getdevopspro/github-actions/test/label@v6.2.4 with: label-done: ${{ inputs.label-test-robot-done }} label-needed: ${{ inputs.label-test-robot-needed }} @@ -41,7 +41,7 @@ jobs: 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 }} diff --git a/.github/workflows/test-robot-unlabel.yml b/.github/workflows/test-robot-unlabel.yml index 76e6f73..9101b32 100644 --- a/.github/workflows/test-robot-unlabel.yml +++ b/.github/workflows/test-robot-unlabel.yml @@ -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: @@ -26,12 +26,12 @@ 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/unlabel + uses: getdevopspro/github-actions/test/unlabel@v6.2.4 with: label-done: ${{ inputs.label-test-robot-done }} label-needed: ${{ inputs.label-test-robot-needed }} diff --git a/package-lock.json b/package-lock.json index 191b7ff..1e6c70c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1701,8 +1701,8 @@ } }, "node_modules/chai": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/chai/-/chai-6.2.2.tgz", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/chai/-/chai-6.2.3.tgz", "integrity": "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==", "dev": true, "license": "MIT", From 7383f2871f363e3cabbfde657490f7e7be7dbce9 Mon Sep 17 00:00:00 2001 From: getdevopspro-cibot <203600057+getdevopspro-cibot@users.noreply.github.com> Date: Thu, 19 Feb 2026 10:44:06 -0600 Subject: [PATCH 4/4] refactor: adjust group of pr label --- .github/workflows/pull-request-label.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-label.yml b/.github/workflows/pull-request-label.yml index 8100e75..1d41a0e 100644 --- a/.github/workflows/pull-request-label.yml +++ b/.github/workflows/pull-request-label.yml @@ -5,7 +5,7 @@ on: types: [labeled] concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.event.label.name }} cancel-in-progress: true permissions: