Commit 2dc83b9
committed
ci: add persist-credentials: false to checkout step
actions/checkout@v6 stores credentials using includeIf scoped to the repo
and its worktrees. The docs deploy action creates a temporary worktree,
causing checkout's GITHUB_TOKEN credentials to override the app token,
resulting in a 403 as github-actions[bot].
Setting persist-credentials: false prevents checkout from storing any
credentials, so only the deploy action's own app token is used.1 parent bbb7451 commit 2dc83b9
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments