From 0e019210cfc4092aba80690601c60c2b53638041 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 27 Oct 2024 08:32:31 +0000 Subject: [PATCH 1/2] Chore: update thollander/actions-comment-pull-request action to v3 --- .github/workflows/gh-automerge-disabler.yml | 4 ++-- .github/workflows/gh-release-drafter.yml | 2 +- .github/workflows/node-branch-exec.yml | 4 ++-- .github/workflows/node-publish.yml | 2 +- .github/workflows/pr-renamer.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gh-automerge-disabler.yml b/.github/workflows/gh-automerge-disabler.yml index d846a6176..26129404a 100644 --- a/.github/workflows/gh-automerge-disabler.yml +++ b/.github/workflows/gh-automerge-disabler.yml @@ -26,7 +26,7 @@ jobs: - run: gh pr merge "${{ github.event.pull_request.number }}" --disable-auto env: GH_TOKEN: ${{ github.token }} - - uses: thollander/actions-comment-pull-request@v2 + - uses: thollander/actions-comment-pull-request@v3 with: message: | ## :warning: Disabling auto-merge @@ -42,7 +42,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: thollander/actions-comment-pull-request@v2 + - uses: thollander/actions-comment-pull-request@v3 with: message: Deleting mode: delete diff --git a/.github/workflows/gh-release-drafter.yml b/.github/workflows/gh-release-drafter.yml index 61535499d..966723150 100644 --- a/.github/workflows/gh-release-drafter.yml +++ b/.github/workflows/gh-release-drafter.yml @@ -105,7 +105,7 @@ jobs: | jq --raw-output '.[0].number') echo "PR_NUMBER=${PR_NUMBER}" >> "${GITHUB_OUTPUT}" - if: ${{ steps.release-drafter.outputs.id }} - uses: thollander/actions-comment-pull-request@v2 + uses: thollander/actions-comment-pull-request@v3 with: message: | ## :octocat: GitHub release diff --git a/.github/workflows/node-branch-exec.yml b/.github/workflows/node-branch-exec.yml index d6259cd1f..73d0fc5cd 100644 --- a/.github/workflows/node-branch-exec.yml +++ b/.github/workflows/node-branch-exec.yml @@ -40,7 +40,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: thollander/actions-comment-pull-request@v2 + - uses: thollander/actions-comment-pull-request@v3 with: message: | ## :test_tube: Branch testing instructions @@ -57,7 +57,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: thollander/actions-comment-pull-request@v2 + - uses: thollander/actions-comment-pull-request@v3 with: message: | ## :test_tube: Branch testing instructions diff --git a/.github/workflows/node-publish.yml b/.github/workflows/node-publish.yml index 9af850d3d..718e43768 100644 --- a/.github/workflows/node-publish.yml +++ b/.github/workflows/node-publish.yml @@ -51,7 +51,7 @@ jobs: "https://api.github.com/repos/${GITHUB_REPOSITORY}/commits/${GIT_SHA}/pulls" \ | jq --raw-output '.[0].number') echo "PR_NUMBER=${PR_NUMBER}" >> "${GITHUB_OUTPUT}" - - uses: thollander/actions-comment-pull-request@v2 + - uses: thollander/actions-comment-pull-request@v3 with: message: | ## :package: npm publish diff --git a/.github/workflows/pr-renamer.yml b/.github/workflows/pr-renamer.yml index 9c2f397b3..078be0617 100644 --- a/.github/workflows/pr-renamer.yml +++ b/.github/workflows/pr-renamer.yml @@ -82,7 +82,7 @@ jobs: # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable NEW_TITLE: ${{ steps.title-massager.outputs.NEW_TITLE }} - if: '!cancelled()' - uses: thollander/actions-comment-pull-request@v2 + uses: thollander/actions-comment-pull-request@v3 with: message: | ## :x: Invalid pull request title From ffbcb820badf7f451aeecfa94e0b0da8e7cead6a Mon Sep 17 00:00:00 2001 From: Christian Emmer <10749361+emmercm@users.noreply.github.com> Date: Mon, 30 Dec 2024 10:00:54 -0800 Subject: [PATCH 2/2] Migrate --- .github/workflows/gh-automerge-disabler.yml | 4 ++-- .github/workflows/gh-release-drafter.yml | 6 +++--- .github/workflows/node-branch-exec.yml | 4 ++-- .github/workflows/node-publish.yml | 6 +++--- .github/workflows/pr-renamer.yml | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/gh-automerge-disabler.yml b/.github/workflows/gh-automerge-disabler.yml index 26129404a..56738056a 100644 --- a/.github/workflows/gh-automerge-disabler.yml +++ b/.github/workflows/gh-automerge-disabler.yml @@ -34,7 +34,7 @@ jobs: _Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._ mode: recreate - comment_tag: gh-automerge-disabler + comment-tag: gh-automerge-disabler remove-comment: if: ${{ !github.event.pull_request.auto_merge || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name }} @@ -46,4 +46,4 @@ jobs: with: message: Deleting mode: delete - comment_tag: gh-automerge-disabler + comment-tag: gh-automerge-disabler diff --git a/.github/workflows/gh-release-drafter.yml b/.github/workflows/gh-release-drafter.yml index 966723150..eb043954b 100644 --- a/.github/workflows/gh-release-drafter.yml +++ b/.github/workflows/gh-release-drafter.yml @@ -27,7 +27,7 @@ jobs: permissions: # actions/checkout@v4 contents: read - # thollander/actions-comment-pull-request@v2 + # thollander/actions-comment-pull-request pull-requests: write runs-on: ubuntu-latest steps: @@ -112,5 +112,5 @@ jobs: This pull request resulted in the release: [v${{ steps.check.outputs.version }} @ ${{ env.ref }}](${{ steps.release-drafter.outputs.html_url }}) _Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._ - comment_tag: gh-release - pr_number: ${{ steps.pr-finder.outputs.PR_NUMBER }} + comment-tag: gh-release + pr-number: ${{ steps.pr-finder.outputs.PR_NUMBER }} diff --git a/.github/workflows/node-branch-exec.yml b/.github/workflows/node-branch-exec.yml index 73d0fc5cd..76bac4538 100644 --- a/.github/workflows/node-branch-exec.yml +++ b/.github/workflows/node-branch-exec.yml @@ -49,7 +49,7 @@ jobs: npm exec --yes -- "github:${{ github.event.pull_request.head.repo.full_name }}#${{ github.event.pull_request.head.ref }}" [commands..] [options] ``` _Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._ - comment_tag: npm-exec + comment-tag: npm-exec npm-exec-comment-update: if: github.event.action == 'closed' && github.event.pull_request.merged @@ -66,5 +66,5 @@ jobs: npm exec --yes -- "github:${{ github.event.pull_request.base.repo.full_name }}#${{ github.event.pull_request.base.ref }}" [commands..] [options] ``` _Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._ - comment_tag: npm-exec + comment-tag: npm-exec mode: recreate diff --git a/.github/workflows/node-publish.yml b/.github/workflows/node-publish.yml index 718e43768..543203dfc 100644 --- a/.github/workflows/node-publish.yml +++ b/.github/workflows/node-publish.yml @@ -16,7 +16,7 @@ jobs: contents: read # `npm publish --provenance` id-token: write - # thollander/actions-comment-pull-request@v2 + # thollander/actions-comment-pull-request pull-requests: write runs-on: ubuntu-latest steps: @@ -58,5 +58,5 @@ jobs: This pull request resulted in the npm release: [v${{ steps.publish.outputs.PACKAGE_VERSION }}](https://www.npmjs.com/package/${{ steps.publish.outputs.PACKAGE_NAME }}/v/${{ steps.publish.outputs.PACKAGE_VERSION }}) _Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._ - comment_tag: node-publish - pr_number: ${{ steps.pr-finder.outputs.PR_NUMBER }} + comment-tag: node-publish + pr-number: ${{ steps.pr-finder.outputs.PR_NUMBER }} diff --git a/.github/workflows/pr-renamer.yml b/.github/workflows/pr-renamer.yml index 078be0617..df6ff245e 100644 --- a/.github/workflows/pr-renamer.yml +++ b/.github/workflows/pr-renamer.yml @@ -92,8 +92,8 @@ jobs: ``` _Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._ mode: ${{ steps.gh-pr-edit.outcome != 'success' && 'upsert' || 'delete' }} - create_if_not_exists: ${{ steps.gh-pr-edit.outcome != 'success' && 'true' || 'false' }} - comment_tag: pr-renamer + create-if-not-exists: ${{ steps.gh-pr-edit.outcome != 'success' && 'true' || 'false' }} + comment-tag: pr-renamer # !!! This check should be required by GitHub !!! title-status-check: