snyk: skip writing of scan metadata when no supported project #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Coverity | |
on: | |
push: | |
branches: [main] | |
jobs: | |
coverity: | |
if: github.repository == 'csutils/csmock' | |
name: Coverity Scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Coverity scan | |
uses: vapier/coverity-scan-action@v1 | |
with: | |
build_language: other # other is for Python, etc... | |
email: ${{ secrets.COVERITY_SCAN_EMAIL }} | |
token: ${{ secrets.COVERITY_SCAN_TOKEN }} | |
project: csutils/csmock | |
command: --no-command --fs-capture-search ./py ./scripts |