Skip to content

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

Merged
georglauterbach merged 1 commit intomasterfrom
fix/ci-vulnerability-scan-permissions
Mar 3, 2023
Merged

ci(fix): Only apply permissions at the job level#3142
georglauterbach merged 1 commit intomasterfrom
fix/ci-vulnerability-scan-permissions

Conversation

@polarathene
Copy link
Copy Markdown
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.

2 participants