From 6f84ff6b1623dccf827bad8131411b7a9ec74367 Mon Sep 17 00:00:00 2001 From: Quinten Stokkink Date: Fri, 11 Oct 2024 13:59:54 +0200 Subject: [PATCH] Use a special token to set commit statuses --- .github/workflows/pr-comment-validate.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-comment-validate.yml b/.github/workflows/pr-comment-validate.yml index f2a4e6c6e6..a1bc388e6a 100644 --- a/.github/workflows/pr-comment-validate.yml +++ b/.github/workflows/pr-comment-validate.yml @@ -65,7 +65,7 @@ jobs: - name: Set commit pending status uses: guibranco/github-status-action-v2@v1.1.13 with: - authToken: ${{secrets.GITHUB_TOKEN}} + authToken: ${{secrets.COMMIT_STATUS_TOKEN}} context: 'Cross-env Validation' description: 'Pending..' state: 'pending' @@ -82,7 +82,7 @@ jobs: actual_pull_head: ${{needs.set_pending_status.outputs.actual_pull_head}} uses: guibranco/github-status-action-v2@v1.1.13 with: - authToken: ${{secrets.GITHUB_TOKEN}} + authToken: ${{secrets.COMMIT_STATUS_TOKEN}} context: 'Cross-env Validation' description: 'Failed!' state: 'failure' @@ -99,7 +99,7 @@ jobs: actual_pull_head: ${{needs.set_pending_status.outputs.actual_pull_head}} uses: guibranco/github-status-action-v2@v1.1.13 with: - authToken: ${{secrets.GITHUB_TOKEN}} + authToken: ${{secrets.COMMIT_STATUS_TOKEN}} context: 'Cross-env Validation' description: 'Success!' state: 'success'