Skip to content

Commit

Permalink
[GHA] Add comment as to why running on project owner only
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Dec 28, 2023
1 parent 1b2a932 commit 821278d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ on:
push:
branches:
- master
# do not validate pull requests because SONAR_TOKEN is available only for project owner
# Run against master only to not overwhelm sonar given master branch is the base used branch

jobs:
build:
# Do not run sonar on forks because SONAR_TOKEN is available only for project owner
if: github.repository_owner == 'damianszczepanik'
runs-on: ubuntu-latest

Expand Down

0 comments on commit 821278d

Please sign in to comment.