Skip to content

Commit

Permalink
Limit codecov/sonar runs to upstream repo
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill committed Oct 11, 2023
1 parent 7b14c67 commit cbc9b88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@ jobs:
run: npx jest --coverage --group=unit

- name: SonarCloud scan
if: ${{ github.repository == 'jellyfin/jellyfin-sdk-typescript' }}
uses: SonarSource/sonarcloud-github-action@c25d2e7e3def96d0d1781000d3c429da22cd6252 # v2.0.2
env:
GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Upload coverage
if: ${{ github.repository == 'jellyfin/jellyfin-sdk-typescript' }}
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4

0 comments on commit cbc9b88

Please sign in to comment.