forked from wasptree/Veracode-pipeline-scan-action
-
Notifications
You must be signed in to change notification settings - Fork 23
36 lines (29 loc) · 834 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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