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

Commit

Permalink
Merge pull request #753 from ashwindasr/update_snyk
Browse files Browse the repository at this point in the history
Update snyk github action
  • Loading branch information
ashwindasr committed Apr 3, 2023
2 parents 8b68345 + d0ff189 commit e4b230d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/snyk_security.yaml
Original file line number Diff line number Diff line change
@@ -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 e4b230d

Please sign in to comment.