Skip to content

Commit ab2992c

Browse files
authored
Create az-security-scan.yml
1 parent e4906cf commit ab2992c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
# .github/workflows/az-security-scan.yml
3+
4+
name: AZ-Security-Scan
5+
6+
on:
7+
push:
8+
branches:
9+
- '*'
10+
workflow_dispatch:
11+
12+
jobs:
13+
armourzero_security_test_pre:
14+
runs-on: ubuntu-latest
15+
16+
env:
17+
AZ_API_KEY: "${{ secrets.AZ_TOKEN }}"
18+
PROJECT_KEY: "OAxTNaHFVbWkemTtWaNgNhVfxRrcvJEi"
19+
BRANCH_NAME: "${{ github.ref_name }}"
20+
21+
steps:
22+
- name: Checkout Repository
23+
uses: actions/checkout@v2
24+
25+
- name: ArmourZero Security Test (Pre)
26+
run: |
27+
docker run -v "$(pwd):/app/wrk" --rm armourzero/pipe-scan:latest --apikey="$AZ_API_KEY" --projectkey="$PROJECT_KEY" --branch="$BRANCH_NAME" --repo="$GITHUB_REPOSITORY"
28+
continue-on-error: true

0 commit comments

Comments
 (0)