Skip to content

Commit

Permalink
Merge pull request #273 from cagov/jbum-update-pr-workflow
Browse files Browse the repository at this point in the history
Tweaked usage of add-pr-comment to use write access instead of explicit tokens.
  • Loading branch information
jbum authored Mar 12, 2024
2 parents 40993b0 + 13cf251 commit 221d153
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/eleventy_build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ concurrency: # replaces use of n1hility/cancel-previous-runs
jobs:
build_deploy:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
# - uses: n1hility/cancel-previous-runs@master
# with:
Expand Down Expand Up @@ -70,6 +72,6 @@ jobs:
with:
message: |
Preview site available at [${{ env.URLSAFE_BRANCH_NAME }}.pr.digital.ca.gov](https://${{ env.URLSAFE_BRANCH_NAME }}.pr.digital.ca.gov/).
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: 'github-actions[bot]'
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# repo-token-user-login: 'github-actions[bot]'
allow-repeats: false

0 comments on commit 221d153

Please sign in to comment.