Skip to content

Conversation

@mgovers
Copy link
Member

@mgovers mgovers commented Sep 3, 2024

Ensure Sonar Cloud is only run when the PowerGridModel organisation is the repo owner.

This prevents cases like #272 in which an external contributor's PR is blocked by the fact that Sonar Cloud cannot run due to missing secrets.

Note that the line is also present in the power-grid-model repo in https://github.com/PowerGridModel/power-grid-model/blob/7e0645bf40cd4c8cacf023b6695f2811d889dd88/.github/workflows/sonar.yml#L76 .

This change was deliberately made via a fork to prove that it works as intended.

Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
@mgovers mgovers changed the title test commit Only run sonar cloud when PGM org is repo owner Sep 3, 2024
@mgovers mgovers marked this pull request as ready for review September 3, 2024 07:00
@mgovers mgovers enabled auto-merge September 3, 2024 07:02
@mgovers mgovers added this pull request to the merge queue Sep 3, 2024
Merged via the queue into PowerGridModel:main with commit 4790212 Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants