improve: run sonar for forked repo PRs by csviri · Pull Request #3246 · operator-framework/java-operator-sdk
Navigation Menu
{{ message }}
operator-framework / java-operator-sdk Public
- Notifications You must be signed in to change notification settings
- Fork 236
Closed
csviri wants to merge 1 commit intooperator-framework:mainfrom
Closed
improve: run sonar for forked repo PRs#3246
csviri wants to merge 1 commit intooperator-framework:mainfrom
improve: run sonar for forked repo PRs#3246
csviri wants to merge 1 commit intooperator-framework:mainfrom
Conversation
Copy link
Collaborator
csviri
commented
Mar 19, 2026
csviri
commented
Signed-off-by: Attila Mészáros a_meszaros@apple.com
Copilot AI review requested due to automatic review settings
March 19, 2026 16:58
openshift-ci
bot
requested review from
metacosm and
xstefank
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
csviri
force-pushed
the
sonar-not-running
branch
from
065e81a to
d258f2b
Compare
Copilot AI reviewed Mar 19, 2026
Copy link
Contributor
Copilot
AI
left a comment
Copilot AI left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Update the Sonar workflow so it can run for PRs coming from forked repositories.
Changes:
- Switch workflow trigger from
pull_requesttopull_request_target. - Simplify the job
if:condition to only exclude Dependabot. - Checkout the PR head SHA and fetch full history (
fetch-depth: 0).
You can also share your feedback on Copilot code review. Take the survey.
| - 'adr/**' | ||
| branches: [ main ] | ||
| pull_request: | ||
| pull_request_target: |
Comment on lines +24 to +29
| if: ${{ github.actor != 'dependabot[bot]' }} | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.sha }} | ||
| fetch-depth: 0 |
| steps: | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.sha }} |
csviri
closed this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment