-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: checkout action using a github pat #358
Conversation
Signed-off-by: David Calvert <david.calvert@oqton.com>
Yes documention change only, does anything else require a change ? Didn't search and replace repo wide, but will check tomorrow morning 👍 |
Ah alright, please let me rephrase your issue with #357 and let me know if I got it right Just want to understand if there are code related issues. The part you changed is not related to the code. Just your secret needs the name |
No, the issue is that following the current documentation, the workflow will fail with the following error when using a PAT :
To solve the issue, I had to use the PAT on the checkout action (in this PR change) :
I also proposed to rename the secret name from Just checked, there is no other occurrence of |
Hi @dotdc got it. Makes absolutely sense. Thanks a lot! |
@all-contributors please add @dotdc for bug |
I've put up a pull request to add @dotdc! 🎉 |
Description
Close #357
This will fix a checkout issue when using a GitHub PAT.
I also renamed the PAT variable from
SOURCE_REPO_PAT
toCUSTOM_GITHUB_PAT
in order to avoid match overlap withSOURCE_REPO_PATH
.Remark
For automation please see closing-issues-using-keywords