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

SonarCloud GitHub action fails if it is run from pull request #684

Open
mikir opened this issue Feb 5, 2025 · 0 comments
Open

SonarCloud GitHub action fails if it is run from pull request #684

mikir opened this issue Feb 5, 2025 · 0 comments
Labels
bug Something isn't working ci GitHub actions
Milestone

Comments

@mikir
Copy link
Contributor

mikir commented Feb 5, 2025

If the SonarCloud GitHub action is run from the pull request, it fails with the following error:

ERROR: Error during SonarScanner execution
ERROR: A pull request analysis cannot have the branch analysis parameter 'sonar.branch.name'

Example of the failed GitHub action can be found here.

@mikir mikir added bug Something isn't working ci GitHub actions labels Feb 5, 2025
@mikir mikir added this to the Backlog milestone Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci GitHub actions
Projects
None yet
Development

No branches or pull requests

1 participant