Skip to content

Using secrets in PRs for regular contributors (non maintainers) #866

Answered by fkorotkov
abravalheri asked this question in Q&A
Discussion options

You must be logged in to vote

You are a right it's a tough one from the security perspective. If you are OK to have the Coverall token to be at a potential risk you can add it as plain text in your repository settings:

This way the token will be visible in the settings only for people with write access to the repository. But still there might be a PR that does echo $COVERALLS_REPO_TOKEN to still the token.

On the other hand we might add a new policy beside Only users with write access and call it Only users with write access and collaborators. But still the first PR from a user won't have the token decrypted in this case.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@abravalheri
Comment options

@fkorotkov
Comment options

@abravalheri
Comment options

@abravalheri
Comment options

@fkorotkov
Comment options

Answer selected by abravalheri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants