Skip to content

Commit 026a644

Browse files
committed
fix: use BOT_TOKEN for push so build-index.yml is triggered automatically
1 parent 7f04ce7 commit 026a644

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/analyze-customer-repo.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232

3333
- name: Deploy to central site
3434
env:
35-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
# BOT_TOKEN (PAT with repo+workflow scopes) is required so the push
36+
# triggers build-index.yml. GITHUB_TOKEN pushes are ignored by GitHub Actions.
37+
GH_TOKEN: ${{ secrets.BOT_TOKEN || secrets.GITHUB_TOKEN }}
3638
REPO: ${{ inputs.repo }}
3739
run: |
3840
git config --global user.name "supermodel-bot"

0 commit comments

Comments
 (0)