Skip to content

Commit

Permalink
Set GITHUB_TOKEN for Sticky Comment (joe-bell#257)
Browse files Browse the repository at this point in the history
* chore: switch to pull_request_target

* try with pat again
  • Loading branch information
joe-bell committed Jan 16, 2024
1 parent 8f10ef5 commit 5d2e701
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
- run: pnpm check
examples:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ github.token }}
permissions:
pull-requests: write
if: github.event_name == 'pull_request' && github.repository_owner_id == '7349341'
Expand Down Expand Up @@ -63,7 +65,6 @@ jobs:
header: "Examples"
recreate: true
path: TMP_EXAMPLES.md
GITHUB_TOKEN: ${{ secrets.STICKY_COMMENT_TOKEN }}
lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 5d2e701

Please sign in to comment.