Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

[release-0.9] Backport of Upgrade the knative.dev/client-pkg (#45) #98

[release-0.9] Backport of Upgrade the knative.dev/client-pkg (#45)

[release-0.9] Backport of Upgrade the knative.dev/client-pkg (#45) #98

Workflow file for this run

name: Security
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
scan:
name: Snyk code scanning
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@master
# To make sure that SARIF upload gets called
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: snyk.sarif