actions-rs / clippy-check

📎 GitHub Action for PR annotations with clippy warnings
https://github.com/marketplace/actions/rust-clippy-check
MIT License
287 stars 40 forks source link

[Documentation] Mention github_token required permissions #160

Open Nargonath opened 2 years ago

Nargonath commented 2 years ago

It would be great to know which of the whole set of permissions this actions requires with which level of access: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#permissions. That way we can restrict the token permissions to the bare minimum on user side.

danieleades commented 2 years ago

it would also be useful to know the required permissions to help debug why clippy-check is failing to push comments in some repos (even when the branch is not from a forked repo)

see https://github.com/actions-rs/clippy-check/issues/2#issuecomment-993603216