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:
Niels de Vos 2024-08-22 17:42:55 +02:00 committed by mergify[bot]
parent 5c934d08f2
commit cde5048dd2
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 }}