Commit 4a24d92
authored
build: disable SonarCloud for fork pull requests (#4142)
The `SonarCloud Build` workflow currently runs on all pull requests,
including those originating from forks. However, SonarCloud requires
secrets to publish its analysis, and these secrets are (by design) not
exposed to pull requests from forks.
This causes the workflow to consistently fail for any external
contributor or branch not residing on the main repository, creating
noise in the PR checks.
This PR adds a standard GitHub Actions `if` condition to the `build` job
to simply skip the workflow if the pull request originates from a fork.1 parent 59d0624 commit 4a24d92
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments