Skip to content

Regarding CodeCov and its checkered history #996

Answered by briantist
mapkon asked this question in Q&A
Discussion options

You must be logged in to vote

One thing to keep in mind is that only certain GHA jobs have access to sensitive information like repository/organization secrets, or write access. Jobs that use the workflow_dispatch, push, and pull_request_target triggers for example.

Jobs that use the pull_request trigger depend on where they came from: if the PR is from a fork, then the workflows only have read access to the various permission scopes (so they can't write to the repo, can't access secrets). This makes sense because otherwise someone without access to the repository could gain it by modifying the workflow in their PR to grant them access or make changes. But if the PR comes from a branch on the repo itself, then it has …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@briantist
Comment options

@mapkon
Comment options

Answer selected by mapkon
Comment options

You must be logged in to vote
1 reply
@wolfeidau
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
4 participants