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

Enabling SonarQubeCloud-Analysis on Pull-Request #515

Open
bruderj15 opened this issue Feb 3, 2025 · 0 comments · May be fixed by #520
Open

Enabling SonarQubeCloud-Analysis on Pull-Request #515

bruderj15 opened this issue Feb 3, 2025 · 0 comments · May be fixed by #520

Comments

@bruderj15
Copy link
Member

SonarQubeCloud has updated their plans, restricting the old free plan to only allow analysises on the main branch of a repository.
Users that registered with the former plan - now called Legacy Plan - can still analyze all branches.
However, according to their documentation, theses users (and organizations) will have to migrate to the new Free Plan soon.

Therefore it has been proposed to upgrade this repository to the Team Plan, once this change takes place.
We would then let SonarQubeCloud analyze on every PR.
This would provide addtional benefit in Forks not having to set up analyses themselves.

Actually, analyzation on PR is enabled by default.
We currently suppress it in CI:

...
  upload_to_sonar:
    runs-on: ubuntu-22.04
    name: Upload SonarQube analysis to sonarcloud
    # no pull request and not on release
    if: github.head_ref == '' && !startsWith(github.ref, 'refs/tags')
    ...

To allow analysis for already affected (new) users, enabling analysis on PR shall be considered.

@bruderj15 bruderj15 linked a pull request Feb 4, 2025 that will close this issue
7 tasks
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 a pull request may close this issue.

1 participant