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

[ART-6149] Comment on pr after build #59

[ART-6149] Comment on pr after build

[ART-6149] Comment on pr after build #59

Workflow file for this run

name: Snyk Scan
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 ) && github.repository == 'openshift-eng/doozer'
steps:
- 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:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: test
args: --all-projects
- name: Test for any known security issues using Static Code Analysis.
uses: snyk/actions/python-3.8@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: code test
args: --all-projects