Skip to content

Commit db80a2e

Browse files
authored
chore: switch to fine-grained PAT (#143)
1 parent ae385df commit db80a2e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
uses: actions/checkout@v4
4040
with:
4141
fetch-depth: 0
42-
token: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}
4342

4443
- name: Set up Node 18
4544
uses: actions/setup-node@v4

.github/workflows/release-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
2323
with:
2424
fetch-depth: 0
25-
token: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}
25+
token: ${{ secrets.POSTHOG_BOT_PAT }}
2626

2727
- name: Set up Python
2828
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
@@ -56,7 +56,7 @@ jobs:
5656
- name: Create GitHub release
5757
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
5858
env:
59-
GITHUB_TOKEN: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}
59+
GITHUB_TOKEN: ${{ secrets.POSTHOG_BOT_PAT }}
6060
with:
6161
tag_name: posthog_agent_toolkit-v${{ env.REPO_VERSION }}
6262
release_name: posthog_agent_toolkit ${{ env.REPO_VERSION }}

0 commit comments

Comments
 (0)