Skip to content

Commit

Permalink
Update preview_button.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wesley-dean-gsa authored Dec 16, 2024
1 parent eb731ca commit 7797863
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/preview_button.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7797863

Please sign in to comment.