mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +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
|
continue-on-error: true
|
||||||
uses: snyk/actions/docker@master
|
uses: snyk/actions/docker@master
|
||||||
env:
|
env:
|
||||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
SNYK_TOKEN: ${{ secrets.SYNK_TOKEN }}
|
||||||
with:
|
with:
|
||||||
image: quay.io/cephcsi/cephcsi:${{ github.base_ref }}
|
image: quay.io/cephcsi/cephcsi:${{ github.base_ref }}
|
||||||
args: --file=Dockerfilei
|
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
|
- name: run Snyk to check for code vulnerabilities
|
||||||
uses: snyk/actions/golang@master
|
uses: snyk/actions/golang@master
|
||||||
env:
|
env:
|
||||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
SNYK_TOKEN: ${{ secrets.SYNK_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user