-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (23 loc) · 866 Bytes
/
Copy pathself-scan.yml
File metadata and controls
26 lines (23 loc) · 866 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
# Self-scan: runs the centralized Cycode scan workflow against THIS repo on
# every PR and push to main. Proves the workflow actually executes end-to-end
# once CYCODE_CLIENT_ID and CYCODE_CLIENT_SECRET are configured as repo secrets.
#
# Uses a local path reference (./.github/workflows/cycode-scan.yml) so changes
# to the workflow are exercised on the same PR that introduces them. Customers
# should NOT copy this style — they should pin to a tag (see examples/).
name: Self-scan
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
cycode:
uses: ./.github/workflows/cycode-scan.yml
with:
scanTypes: '["secret","sast","sca","iac"]'
severityThreshold: high
outputFormats: '["json","csv","md","html"]'
# Demo repo: report findings without failing PRs.
blockOnFindings: false
secrets: inherit