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

chore: Enabling SonarCloud for forks #641

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

zepfred
Copy link
Contributor

@zepfred zepfred commented Feb 15, 2024

This pull request modifies the SonarCloud workflow to function with forked repositories as well. The pull_request_target event works similarly to pull_request, but runs on the base branch and allows using secrets. Therefore, the PR ref version needs to be specified in the workflow script.

@zepfred zepfred requested a review from triceo February 15, 2024 11:42
@zepfred
Copy link
Contributor Author

zepfred commented Feb 15, 2024

@triceo, the current SonarCloud configuration will trigger the workflow for opened and reopened PR or every time the PR is updated. Is this the expected behavior?

@triceo
Copy link
Contributor

triceo commented Feb 15, 2024

Yes, it is. Should't I be seeing Sonar here now?

@zepfred
Copy link
Contributor Author

zepfred commented Feb 15, 2024

Yes, it is. Should't I be seeing Sonar here now?

I don't think so. It should be merged first.

Copy link
Contributor

@triceo triceo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'll merge it, but please open another PR where we make sure it actually works.

@triceo triceo linked an issue Feb 15, 2024 that may be closed by this pull request
@triceo triceo merged commit b9a59ba into TimefoldAI:main Feb 15, 2024
9 checks passed
zepfred added a commit to zepfred/timefold-solver that referenced this pull request Feb 15, 2024
triceo pushed a commit that referenced this pull request Feb 15, 2024
zepfred added a commit to zepfred/timefold-solver that referenced this pull request Feb 15, 2024
@zepfred zepfred deleted the sonarcloud-fork branch March 27, 2024 10:49
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.

Enable SonarCloud PR analysis
2 participants