diff --git a/.github/workflows/gh-automerge-disabler.yml b/.github/workflows/gh-automerge-disabler.yml index d846a6176..56738056a 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 @@ -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 }} @@ -42,8 +42,8 @@ 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 - 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 61535499d..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: @@ -105,12 +105,12 @@ 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 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 d6259cd1f..76bac4538 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 @@ -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 @@ -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 @@ -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 9af850d3d..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: @@ -51,12 +51,12 @@ 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 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 9c2f397b3..df6ff245e 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 @@ -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: