This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
update env value #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security Build | |
on: | |
push: | |
pull_request: | |
branches: | |
- main # or the name of your main branch | |
workflow_dispatch: {} | |
jobs: | |
snyk: | |
name: Snyk | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@master | |
- name: Run Snyk to check for vulnerabilities | |
uses: snyk/actions/node@master | |
continue-on-error: true | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
args: --org=${{ secrets.SNYK_ORG }} --severity-threshold=medium | |
snyk-code: | |
name: Snyk Code | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@master | |
- name: Run Snyk SAST to check for vulnerabilities | |
uses: snyk/actions/node@master | |
continue-on-error: true | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
args: --org=${{ secrets.SNYK_ORG }} | |
command: code test |