diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 4a228d413..523bd56c2 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -141,7 +141,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} - name: Create PR Build Comment if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' - uses: peter-evans/create-or-update-comment@v1.4.4 + uses: peter-evans/create-or-update-comment@v2.1.0 with: issue-number: ${{ github.event.pull_request.number }} body: | diff --git a/.github/workflows/get-build-command.yml b/.github/workflows/get-build-command.yml index f21f58502..c866644af 100644 --- a/.github/workflows/get-build-command.yml +++ b/.github/workflows/get-build-command.yml @@ -108,13 +108,13 @@ jobs: echo "::set-output name=runid::$GH_RUNID" echo "::set-output name=links::$MDR" - name: React to Slash Command Comment - uses: peter-evans/create-or-update-comment@v1.4.4 + uses: peter-evans/create-or-update-comment@v2.1.0 with: comment-id: ${{ github.event.client_payload.github.payload.comment.id }} reactions: hooray - name: Reply Error in PR if: steps.arts.outputs.result == 'FAILED' - uses: peter-evans/create-or-update-comment@v1.4.4 + uses: peter-evans/create-or-update-comment@v2.1.0 with: repository: ${{ github.event.client_payload.github.payload.repository.full_name }} issue-number: ${{ github.event.client_payload.github.payload.issue.number }} @@ -131,7 +131,7 @@ jobs: - name: Create comment in PR id: successPR if: steps.arts.outputs.result == 'SUCCESS' - uses: peter-evans/create-or-update-comment@v1.4.4 + uses: peter-evans/create-or-update-comment@v2.1.0 with: repository: ${{ github.event.client_payload.github.payload.repository.full_name }} issue-number: ${{ github.event.client_payload.github.payload.issue.number }} @@ -161,7 +161,7 @@ jobs: echo "Slash Comment should have been deleted now." - name: Replace Success PR Comment if: steps.arts.outputs.result == 'SUCCESS' - uses: peter-evans/create-or-update-comment@v1.4.4 + uses: peter-evans/create-or-update-comment@v2.1.0 with: comment-id: ${{ steps.successPR.outputs.comment-id }} edit-mode: replace