Chore/simplify project by removing redundancy #1209
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: Snyk Security Scan | |
on: | |
pull_request: | |
branches: [ main ] | |
merge_group: # run if triggered as part of a merge queue | |
push: | |
branches: [ main ] | |
jobs: | |
security: | |
name: Code security scanning alerts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Run Snyk to check for vulnerabilities | |
uses: snyk/actions/golang@b98d498629f1c368650224d6d212bf7dfa89e4bf # v0.4.0 | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }} |