Skip to content

Add description for permissions settings - #298

Merged
SVilgelm merged 2 commits into
golangci:masterfrom
sg0hsmt:add-permissions-settings
Oct 29, 2021
Merged

SVilgelm merged 2 commits into
golangci:masterfrom
sg0hsmt:add-permissions-settings

Conversation

@sg0hsmt

@sg0hsmt sg0hsmt commented Aug 1, 2021 •

Copy link
Copy Markdown
Contributor

This pull request is to clarify the permissions required for golangci-lint-action.
This allows repository owners to follow the principle of least privilege in their workflows.

See also:
https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions

Note:
If update pull request comment (#5), need to grant write access to pull-requests.

@sg0hsmt
sg0hsmt marked this pull request as ready for review August 1, 2021 08:40
@ldez ldez assigned ldez and unassigned ldez Aug 1, 2021
@ldez ldez added the enhancement New feature or request label Aug 1, 2021
@sg0hsmt

This comment has been minimized.

@SVilgelm
SVilgelm merged commit 8067f9f into golangci:master Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants