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

ci: enable sonarqube analysis for contributors #670

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

dianjuar
Copy link
Member

@dianjuar dianjuar commented Dec 19, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)

What is the current behavior?

Issue Number: #671

What is the new behavior?

Adding a new workflow sonar-pr.yml for SonarCloud analysis on successful PR runs. This new workflow is triggered by workflow_run, which allows secrets to be shared with PR's from forked repos.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

According to the documentation for workflow_run, the workflow must be on the main branch. This requirement makes it impossible to test the new CI configuration. We need to merge this PR to see the results.

@dianjuar dianjuar force-pushed the fix-sonar-for-contributors branch 7 times, most recently from c04313c to 152222c Compare December 19, 2024 04:05
@dianjuar dianjuar force-pushed the fix-sonar-for-contributors branch from 152222c to 86d6247 Compare December 19, 2024 04:07
@dianjuar dianjuar marked this pull request as ready for review December 19, 2024 05:12
@dianjuar dianjuar merged commit ed87d1e into main Dec 19, 2024
24 checks passed
@dianjuar dianjuar deleted the fix-sonar-for-contributors branch December 19, 2024 05:15
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.

1 participant