-
-
Notifications
You must be signed in to change notification settings - Fork 55
34 lines (29 loc) · 718 Bytes
/
stackhawk.yml
File metadata and controls
34 lines (29 loc) · 718 Bytes
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
name: "StackHawk"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '28 5 * * 4'
permissions:
contents: read
jobs:
stackhawk:
permissions:
contents: read
security-events: write
name: StackHawk
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Start your service
run: ./your-service.sh &
- name: Run HawkScan
uses: stackhawk/hawkscan-action@4c3258cd62248dac6d9fe91dd8d45928c697dee0
continue-on-error: true
with:
apiKey: ${{ secrets.HAWK_API_KEY }}
codeScanningAlerts: true
githubToken: ${{ github.token }}