Skip to content

SonarCloud workflow and pull requests from forks #1463

Answered by derselbst
oleg-derevenetz asked this question in Q&A
Discussion options

You must be logged in to vote

Uff, good question. I must admit now that you mention it, I am indeed surprised that it works. I have created the SONAR_TOKEN 5 years ago - I can't remember that I've done anything specific to make this work. It could be that back then there was somewhere a setting in Github that allowed secrets to be passed to PR build, which they have now removed from the UI but under the hood it's still working for backward compat... but maybe I'm simply confusing this with Azure DevOps. Apart from that I can only confirm that the SONAR_TOKEN is configured as a "normal" repository secret within the "Actions secrets and variables" section of this repo's settings.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oleg-derevenetz
Comment options

Answer selected by oleg-derevenetz
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