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

Add description for permissions settings #298

Merged
merged 2 commits into from Oct 29, 2021

Conversation

sg0hsmt
Copy link
Contributor

@sg0hsmt sg0hsmt commented Aug 1, 2021

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.

None yet

3 participants