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

Enable SonarCloud PR analysis #70

Closed
rsynek opened this issue Jun 5, 2023 · 0 comments · Fixed by #641 or #647
Closed

Enable SonarCloud PR analysis #70

rsynek opened this issue Jun 5, 2023 · 0 comments · Fixed by #641 or #647
Assignees

Comments

@rsynek
Copy link
Contributor

rsynek commented Jun 5, 2023

Setup SonarCloud to analyze PRs to the timefold-solver, timefold-solver-enterprise and timefold-quickstarts repositories.

Here's why it's not so simple:

  • For pull requests from forks, Github doesn't allow the use of repo tokens. (Security ruins everything.)
  • Which means that, in order to have PRs decorated with Sonar analysis, workarounds need to be implemented.

More reading, incl. examples of how to do this:
https://community.sonarsource.com/t/sonar-cannot-be-run-on-pr-from-a-fork/69229

@rsynek rsynek added the CI label Jun 5, 2023
@triceo triceo changed the title CI: Enable SonarCloud PR analysis Enable SonarCloud PR analysis Jun 12, 2023
@triceo triceo assigned zepfred and unassigned rsynek Jan 11, 2024
@zepfred zepfred linked a pull request Feb 14, 2024 that will close this issue
@triceo triceo linked a pull request Feb 15, 2024 that will close this issue
@zepfred zepfred reopened this Feb 15, 2024
@triceo triceo linked a pull request Feb 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment