Skip to content

Update github-actions #234

Update github-actions

Update github-actions #234

Workflow file for this run

name: Snyk
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '31 10 * * 0'
permissions:
contents: read
jobs:
snyk:
name: Snyk
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@547a5cc003898d3f8fb1265b4a1f09b15be2f990
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.snyk.io:443
github.com:443
proxy.golang.org:443
- uses: actions/checkout@b80ff79f1755d06ba70441c368a6fe801f5f3a62
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@d406fd286b663eb8c6f8adcced4f7bcd199c0a3f
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk.sarif