Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
update snyk github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwindasr committed Mar 31, 2023
1 parent 6665e7f commit d0ff189
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/snyk_security.yaml
@@ -1,16 +1,19 @@
name: Snyk Scan

on:
push: { }
pull_request_target:
types: [ opened ]
on: [ push, pull_request_target ]

jobs:
snyk:
runs-on: ubuntu-latest
if: contains(fromJSON('["jupierce", "sosiouxme", "thiagoalessio", "joepvd", "thegreyd", "vfreex", "locriandev", "Ximinhan", "ashwindasr"]'), github.actor)
steps:
- uses: actions/checkout@v3
- name: Checkout the base branch to get the secret
uses: actions/checkout@v3
- name: Checkout the code from the forked branch to run the tests on
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Test for open source vulnerabilities and license issues.
uses: snyk/actions/python-3.8@master
env:
Expand Down

0 comments on commit d0ff189

Please sign in to comment.