ci: explicitly specify SNYK_TOKEN

This commit is contained in:
Ming Di Leom 2023-01-28 23:26:39 +00:00
parent 5ab19a9d24
commit c92fbee1d5
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 2 additions and 2 deletions

View File

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