Skip to content

Commit

Permalink
Merge pull request #339 from rstudio/snyk-integration-fix
Browse files Browse the repository at this point in the history
Snyk integration fix
  • Loading branch information
Lytol authored Jan 17, 2023
2 parents 46a1629 + efc5007 commit 98a403b
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,34 @@ env:
SNYK_ORG: rstudio-connect

jobs:
snyk-monitor:
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install pipenv
run: |
python -m pip install --upgrade pipenv
- name: Install Pipfile dependencies (as required by Snyk)
run: pipenv install

- name: Run Snyk
uses: snyk/actions/python@master
with:
command: monitor
args: --file=Pipfile --org=${{ env.SNYK_ORG }}
args: --file=Pipfile --project-name=python --org=${{ env.SNYK_ORG }}
ui:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Run Snyk
uses: snyk/actions/node@master
with:
command: monitor
args: --file=yarn.lock --project-name=ui --org=${{ env.SNYK_ORG }}

0 comments on commit 98a403b

Please sign in to comment.