From 42ab7c0e628c4f2deb0c3f36478a86ca5a3e90c2 Mon Sep 17 00:00:00 2001 From: Serge Koudoro Date: Fri, 8 Sep 2023 15:33:44 -0400 Subject: [PATCH] update permissions --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 44c9f8b8..665e54a7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,7 @@ on: permissions: contents: write + pull-requests: write jobs: deploy: @@ -24,7 +25,7 @@ jobs: uses: hasura/comment-progress@v2.3.0 if: github.ref != 'refs/heads/master' with: - github-token: ${{ secrets.GH_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} repository: ${{ github.repository }} number: ${{ github.event.number }} id: deploy-preview @@ -80,7 +81,7 @@ jobs: uses: hasura/comment-progress@v2.3.0 if: github.ref != 'refs/heads/master' with: - github-token: ${{ secrets.GH_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} repository: ${{ github.repository }} number: ${{ github.event.number }} id: deploy-preview