Skip to content

Commit

Permalink
Run coverity scan only if the secret token is defined
Browse files Browse the repository at this point in the history
No need to try and fail on forks of OpenSC repository.
  • Loading branch information
LudovicRousseau committed Sep 25, 2023
1 parent cbfa237 commit 9712158
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/coverity.yml
Expand Up @@ -12,6 +12,9 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
env:
HAS_COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN != '' }}
if: env.HAS_COVERITY_SCAN_TOKEN == 'true'
steps:
- uses: actions/checkout@v3
- run: .github/setup-linux.sh
Expand Down

0 comments on commit 9712158

Please sign in to comment.