Skip to content

Commit

Permalink
Set GITHUB_TOKEN for Sticky Comment (#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 16ec78a commit 76d9170
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'
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

2 comments on commit 76d9170

@vercel
Copy link

@vercel vercel bot commented on 76d9170 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 76d9170 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.