Skip to content

Commit

Permalink
Snykモニター追記
Browse files Browse the repository at this point in the history
  • Loading branch information
OtsukaAiko committed Aug 30, 2024
1 parent 7304fa3 commit a94384b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/Snyk-CodeScan.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: Snyk Code Scan
on: push
jobs:
SnykOpenSource:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

on:
push:
branches:
- main

jobs:
SnykCode:
runs-on: ubuntu-latest
Expand All @@ -28,4 +24,6 @@ jobs:
- name: Run Snyk Code Analysis
run: snyk code test
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor
11 changes: 9 additions & 2 deletions .github/workflows/Snyk-OpeSourceScan.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Snyk Open Source Scan
on: push

on:
push:
branches:
- main

jobs:
SnykOpenSource:
runs-on: ubuntu-latest
Expand All @@ -8,4 +13,6 @@ jobs:
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor

0 comments on commit a94384b

Please sign in to comment.