com-pas / compas-architecture

Project's architecture documentation
Creative Commons Attribution 4.0 International
9 stars 5 forks source link

Scan external pull requests with sonarcloud #182

Open Sander3003 opened 1 year ago

Sander3003 commented 1 year ago

User Story

Allow scanning external pull-requests with Sonarcloud.

Acceptance criteria Find a way to scan external pull-requests in CoMPAS. Keep the traceability to the original author

Background: @apupier

"I noticed one place missing the environment variable which is for the upload of Sonar analysis. I found the feature request on Sonar side https://portal.productboard.com/sonarsource/1-sonarcloud/c/50-sonarcloud-analyzes-external-pull-request And a slightly complicated workaround description: https://community.sonarsource.com/t/how-to-use-sonarcloud-with-a-forked-repository-on-github/7363/34"

Sander3003 commented 1 year ago

Please add some documentation in order to keep this knowledge for further repositories. You can also make a proposal where to add the this fix. Suggestion, add it to all current CoMPAS project repositories with Sonarcloud enabled: https://sonarcloud.io/organizations/com-pas/projects