From 2758ef45d6d851d9c2a9df02409ef3aea32c97d0 Mon Sep 17 00:00:00 2001 From: Paolo Milano <87755502+M-7th@users.noreply.github.com> Date: Thu, 23 Nov 2023 18:12:02 +0100 Subject: [PATCH] Update validate_submission.yml --- .github/workflows/validate_submission.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/validate_submission.yml b/.github/workflows/validate_submission.yml index 4b800628..792ace10 100644 --- a/.github/workflows/validate_submission.yml +++ b/.github/workflows/validate_submission.yml @@ -108,7 +108,7 @@ jobs: - name: Approve Pull Request uses: juliangruber/approve-pull-request-action@v2.0.0 with: - github-token: ${{ secrets.WF_PR_PAT }} + github-token: ${{ secrets.GITHUB_TOKEN }} number: ${{ github.event.pull_request.number }} # Eventually comment on it @@ -175,7 +175,6 @@ jobs: - name: Comment PR uses: thollander/actions-comment-pull-request@v2 with: - GITHUB_TOKEN: ${{ secrets.WF_PR_PAT }} message: | An error occurred. Validation: ${{ needs.validate_request.outputs.validate_error_msg }}. Authentication: ${{ needs.validate_request.outputs.authenticate_error_msg }} pr_number: ${{ github.event.pull_request.number }}