From 779786300932fcfd16b90cfa0489f05e54b8037c Mon Sep 17 00:00:00 2001 From: Wes Dean <87149725+wesley-dean-gsa@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:07:09 -0500 Subject: [PATCH] Update preview_button.yml --- .github/workflows/preview_button.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/preview_button.yml b/.github/workflows/preview_button.yml index 4fa90d0b..187c4545 100644 --- a/.github/workflows/preview_button.yml +++ b/.github/workflows/preview_button.yml @@ -14,11 +14,9 @@ concurrency: jobs: button: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 - permissions: - issues: write - pull-requests: write + permissions: write-all steps: - name: Setup custom variables @@ -47,7 +45,7 @@ jobs: - name: Comment on pull request. uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # pin@v2.5.0 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT || secrets.GITHUB_TOKEN || github.token }} message: | ## Preview This Branch