add new yml for nightly scanning #2
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
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
pipeline_scan: | |
runs-on: ubuntu-latest | |
name: pipeline scan | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: install node v12 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: npm install | |
run: npm install | |
- name: pipeline-scan action step | |
id: pipelien-scan | |
uses: ./ | |
with: | |
vid: ${{ secrets.VID }} | |
vkey: ${{ secrets.VKEY }} | |
file: "verademo.war" | |
request_policy: "VeraDemo Policy" | |
store_baseline_file: true | |
store_baseline_file_branch: "feature-123" | |
create_baseline_from: "standard" | |
debug: 1 | |
fail_build: true | |