Skip to content
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

Add note to README about limitations of using secrets.GITHUB_TOKEN #281

Open
gr2m opened this issue Jan 30, 2021 · 2 comments
Open

Add note to README about limitations of using secrets.GITHUB_TOKEN #281

gr2m opened this issue Jan 30, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@gr2m
Copy link
Owner

gr2m commented Jan 30, 2021

follow up #158 (comment)

@gr2m gr2m added the help wanted Extra attention is needed label Jan 30, 2021
@G-Rath
Copy link
Contributor

G-Rath commented Jan 30, 2021

github action cannot trigger another github action (when using secrets.GITHUB_TOKEN

🤦 ok that is super good to know!

(pulled from here)

@gr2m
Copy link
Owner Author

gr2m commented Feb 2, 2021

There is more: when using actions/checkout@v2, the is basically overriding the token because it persists secrets.GITHUB_TOKEN by default 🤷🏼

GitHub support suggested to add persist-credentials: false, I'll give that a try. Maybe it can be worked around in the code, too, I'll have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants