From c92fbee1d52302860b2430b0fa792dcf5f1d527c Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Sat, 28 Jan 2023 23:26:39 +0000 Subject: [PATCH] ci: explicitly specify SNYK_TOKEN --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 21f391e..ed8d910 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "scripts": { "build": "hexo generate", - "snyk": "snyk auth && snyk-protect && snyk test && snyk monitor", + "snyk": "snyk auth $SNYK_TOKEN && snyk-protect && snyk test && snyk monitor", "renovate": "renovate --platform 'gitlab' --onboarding false --update-lock-files false --labels 'renovate' --recreate-closed true --require-config 'ignored' \"$CI_PROJECT_PATH\"" }, "dependencies": { @@ -23,4 +23,4 @@ "devDependencies": { "hexo-server": "hexojs/hexo-server" } -} \ No newline at end of file +}