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

ci(fix): Only apply permissions at the job level #3142

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

polarathene
Copy link
Member

Description

Fix for #3106 as a recent run of the Action failed.

If permissions are specified at the workflow level, any that are not explicitly set become none and jobs cannot request that to change.

Permissions are therefore scoped to the job itself (Github Actions docs for the step requiring the permission).

Type of change

  • Bug fix (non-breaking change which fixes an issue)

If permissions are specified at the workflow level, any that are not explicitly set became `none` and jobs cannot request that to change.

Permissions are therefore scoped to the job itself.
@georglauterbach georglauterbach merged commit aa4d4fe into master Mar 3, 2023
@georglauterbach georglauterbach deleted the fix/ci-vulnerability-scan-permissions branch March 3, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants