Repository navigation
Commit 89959bb
committed
cherry-pick: persist-credentials false so LGTM token is used on push
actions/checkout defaults to persist-credentials: true, which leaves
an http.extraheader with the workflow's GITHUB_TOKEN in git config.
That overrides the LGTM token in the URL set by `git remote set-url`,
so `git push` fails with "Permission denied to github-actions[bot]"
when pushing the cherry-pick branch.1 parent 9012968 commit 89959bb
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments