add OWNERS #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Snyk Scan | |
on: | |
push: { } | |
pull_request_target: | |
types: [ opened ] | |
jobs: | |
snyk: | |
runs-on: ubuntu-latest | |
if: contains(fromJSON('["jupierce", "sosiouxme", "thiagoalessio", "joepvd", "thegreyd", "vfreex", "locriandev", "Ximinhan", "ashwindasr"]'), github.actor) && github.repository == 'openshift-eng/art-dashboard-ui' | |
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/node@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/node@master | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
command: code test | |
args: --all-projects |