-
Notifications
You must be signed in to change notification settings - Fork 18
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
Check scope of GITHUB_PAT #265
Comments
The one used currently is the one provided by GitHub during every GHA build. If there is a more powerful one needed, the respective secret name would need to be updated. |
What would be a possible action by {tic} depending on path's scope? |
Unless there are some special tasks being executed (like workflow updates) the default PAT inserted by GitHub does the job. I don't think we need to specifically check a PAT's scope, at least not now. People who need special scopes usually know that they need to add one to the build and reference it accordingly. |
This is about the token used in |
before performing actions.
By default I'm using a very poorly scoped PAT if any, only adding a powerful one if needed. Protection against shooting myself in the foot.
The text was updated successfully, but these errors were encountered: