Skip to content

Commit fd03717

Browse files
committed
chore(ci): Do not execute SonarCloud on PRs from forks
1 parent f107057 commit fd03717

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
with:
8585
github-token: ${{ secrets.GITHUB_TOKEN }}
8686
- name: SonarCloud Scan
87+
if: env.SONAR_TOKEN != ''
8788
uses: sonarsource/sonarcloud-github-action@master
8889
env:
8990
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1717
### Changed
1818
- chore(#210): Support all Node.js releases that have not passed their end date
1919
- chore(deps): Update devDependencies
20+
- chore(ci): Do not execute SonarCloud on PRs from forks
2021

2122
### Fixed
2223
- docs(readme): Fix build badge url

0 commit comments

Comments
 (0)