mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 11:50:18 +00:00
ci: pass the correct account token for Snyk jobs
The secret in the project settings has a typo and is called `SYNK_TOKEN` instead of `SNYK_TOKEN`. Changing the name of the secret does not seem to be trivial; it needs to be deleted and re-created, which requires obtaining a new token, somehow. Adopting the name with the typo in the GitHub Workflow is easier. Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
5c934d08f2
commit
cde5048dd2
2
.github/workflows/snyk-container-image.yaml
vendored
2
.github/workflows/snyk-container-image.yaml
vendored
@ -33,7 +33,7 @@ jobs:
|
||||
continue-on-error: true
|
||||
uses: snyk/actions/docker@master
|
||||
env:
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
SNYK_TOKEN: ${{ secrets.SYNK_TOKEN }}
|
||||
with:
|
||||
image: quay.io/cephcsi/cephcsi:${{ github.base_ref }}
|
||||
args: --file=Dockerfilei
|
||||
|
2
.github/workflows/snyk.yaml
vendored
2
.github/workflows/snyk.yaml
vendored
@ -27,4 +27,4 @@ jobs:
|
||||
- name: run Snyk to check for code vulnerabilities
|
||||
uses: snyk/actions/golang@master
|
||||
env:
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
SNYK_TOKEN: ${{ secrets.SYNK_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user