Files
my-rook-config/.github/workflows/snyk.yaml
T
subhamkrai a89282667f security: pin older version of synk
let's pin older version of synk where ci was passing.
With newer version or master tag, it is failing.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit c0ef0cf04c)
2026-03-05 19:13:29 +00:00

38 lines
834 B
YAML

name: Security scanning
on:
push:
tags:
- v*
branches:
- master
- release-*
permissions:
contents: read
jobs:
security:
if: github.repository == 'rook/rook'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: "1.25"
- name: Install Snyk CLI
uses: snyk/actions/setup@master
with:
snyk-version: "v1.1302.1"
- name: run Snyk to check for code vulnerabilities
run: snyk test --debug
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
GOFLAGS: "-buildvcs=false"