From cde5048dd244fbd63e9bb8aee8a88fe444199443 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 22 Aug 2024 17:42:55 +0200 Subject: [PATCH] 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 --- .github/workflows/snyk-container-image.yaml | 2 +- .github/workflows/snyk.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/snyk-container-image.yaml b/.github/workflows/snyk-container-image.yaml index b071cfaf2..74b9b55d2 100644 --- a/.github/workflows/snyk-container-image.yaml +++ b/.github/workflows/snyk-container-image.yaml @@ -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 diff --git a/.github/workflows/snyk.yaml b/.github/workflows/snyk.yaml index 8cb46b687..dd1ed75f7 100644 --- a/.github/workflows/snyk.yaml +++ b/.github/workflows/snyk.yaml @@ -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 }}