Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip SonarCloud analysis of PRs from forked repositories #926

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

Stephan202
Copy link
Member

@Stephan202 Stephan202 commented Dec 17, 2023

This issue was observed in the context of #925. I added a commit there to validate that the new condition indeed skips the check. For this PR the SonarCloud analysis should run 👀 🤞

Suggested commit message:

Skip SonarCloud analysis of PRs from forked repositories (#926)

Because such analysis will fail due to unavailability of the relevant
secrets. Working around this is nontrivial and a likely source of
security issues.

Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Because such analysis will fail due to unavailability of the relevant
secrets. Working around this is nontrivial and a likely source of
security issues.
@rickie rickie force-pushed the sschroevers/skip-sonarcloud-analysis-for-forks branch from e5f93fd to be8eb0e Compare December 18, 2023 06:51
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@rickie rickie added the chore A task not related to code (build, formatting, process, ...) label Dec 18, 2023
@Stephan202 Stephan202 merged commit ff3be8a into master Dec 18, 2023
16 checks passed
@Stephan202 Stephan202 deleted the sschroevers/skip-sonarcloud-analysis-for-forks branch December 18, 2023 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore A task not related to code (build, formatting, process, ...)
Development

Successfully merging this pull request may close these issues.

4 participants