Skip to content

Commit

Permalink
ci: Use POSTHOG_BOT_GITHUB_TOKEN to allow opening PRs
Browse files Browse the repository at this point in the history
The base token cannot create PRs, so let's use our PH bot token instead

See https://github.com/PostHog/posthog/actions/runs/12189444620/job/34004593259
  • Loading branch information
rafaeelaudibert committed Dec 6, 2024
1 parent 95f78a0 commit 2c0d92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/browserslist-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Update Browserslist database and create PR if applies
uses: c2corg/browserslist-update-action@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }} # This token has permission to open PRs
commit_message: 'build: update Browserslist db'
title: 'build: update Browserslist db'
labels: 'dependencies, automerge'

0 comments on commit 2c0d92f

Please sign in to comment.