diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 857bf3f13a..a8ef2104b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,7 @@ jobs: - if: steps.fc.outputs.comment-id == '' name: Create comment - uses: peter-evans/create-or-update-comment@v1 + uses: peter-evans/create-or-update-comment@v2 with: issue-number: ${{ github.event.number }} body: | diff --git a/.github/workflows/cpr-example-command.yml b/.github/workflows/cpr-example-command.yml index c14f765f23..4c9e54017e 100644 --- a/.github/workflows/cpr-example-command.yml +++ b/.github/workflows/cpr-example-command.yml @@ -42,7 +42,7 @@ jobs: echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" - name: Add reaction - uses: peter-evans/create-or-update-comment@v1 + uses: peter-evans/create-or-update-comment@v2 with: repository: ${{ github.event.client_payload.github.payload.repository.full_name }} comment-id: ${{ github.event.client_payload.github.payload.comment.id }}