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

github: Add necessery permissions for CodeQL #14010

Merged
merged 1 commit into from
May 5, 2022

Conversation

serathius
Copy link
Member

permissions:
actions: read
contents: read
security-events: write
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: actions and contents are only required for private repository.

See the Usage section in https://github.com/github/codeql-action

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think permissions should reflect whole set of permissions required, even those that are given by default in certain environments.

@serathius serathius merged commit 0040f70 into etcd-io:main May 5, 2022
@serathius serathius deleted the codeql-permissions branch June 15, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

CodeQL is broken (again)
2 participants