-
Notifications
You must be signed in to change notification settings - Fork 21
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
Use app installation tokens instead of default github token #455
base: master
Are you sure you want to change the base?
Conversation
Change-type: patch Signed-off-by: Ryan Cooke <[email protected]>
permissions: |- | ||
{ | ||
"contents": "read", | ||
"actions": "read", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Flowzone app does not have actions: read
IIRC, and neither does the new defaults for the automatic GITHUB_TOKEN. I think we need to decide which is better to use here.
@@ -31,6 +31,9 @@ on: | |||
jobs: | |||
yocto: | |||
name: Yocto | |||
permissions: | |||
# Have to explicitly get permission here as not yet supported by gh app tokens | |||
id-token: write # This is required for requesting the JWT #https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#requesting-the-access-token |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id-token: write # This is required for requesting the JWT #https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#requesting-the-access-token | |
actions: read | |
contents: read | |
packages: read | |
id-token: write # This is required for requesting the JWT #https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#requesting-the-access-token | |
pull-requests: write |
|
Change-type: patch