Hi,
The context:
I can successfully analyze GitHub PRs when the PR is made from a repository clone. However, when it is done from a repository fork, then the Travis-CI build fails during SQ analysis. Indeed, as GitHub credentials and SQ token are Travis-CI secured environment variables, their value is set to blank when the PR is external. The only way I found to have the build succeed is to remove the secure flag for these variables... (which is not a viable approach) or ask people to make PRs from a repository clone instead of a fork (which is not convenient for contributors)
The questions:
- Is there a way to analyze PRs made from a GitHub repository fork with SonarQube.com and Travis-CI ?
- If yes, can you please explain it ?
- If not, are you working on this topic (with Travis-CI team for instance) ?
Thanks and CU,
Michel