-
-
Notifications
You must be signed in to change notification settings - Fork 115
38 lines (32 loc) · 1.03 KB
/
Copy pathpipelock-security.yml
File metadata and controls
38 lines (32 loc) · 1.03 KB
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
37
38
name: Pipelock Advisory Scan
on:
pull_request:
paths-ignore:
- "content/**"
- "README.md"
workflow_dispatch:
permissions:
contents: read
# Cancel a superseded scan when a new commit is pushed to the same PR — otherwise rapid re-pushes
# during iteration leave stale full-repo scans running and burning runner minutes. (#cancel-stale)
concurrency:
group: pipelock-${{ github.ref }}
cancel-in-progress: true
jobs:
pipelock-advisory-scan:
name: pipelock-advisory-scan
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
fetch-depth: 0
persist-credentials: false
- name: Run Pipelock advisory scan
# Pipelock v2 tag dereferenced to a full commit SHA for selected-actions policy.
uses: luckyPipewrench/pipelock@dcd25d8ea407f087fa9f2d4a0f8bddea5c997f07
continue-on-error: true
with:
scan-diff: "true"
fail-on-findings: "false"