-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (26 loc) · 803 Bytes
/
Copy pathsecurity.yml
File metadata and controls
30 lines (26 loc) · 803 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
# Security Scanning — wrapper that triggers the vendored secrets-and-sast workflow.
#
# Vendored workflow lives at .github/workflows/secrets-and-sast-vendored.yml.
# Wrapper exists because the vendored file is `on: workflow_call` only — this
# wrapper provides the actual triggers and forwards inputs.
name: Security
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Weekly on Sunday at 00:00 UTC
- cron: "0 0 * * 0"
workflow_dispatch:
permissions:
contents: read
jobs:
scan:
name: Secrets & SAST
uses: ./.github/workflows/secrets-and-sast-vendored.yml
with:
source-paths: "mod.ts deps.ts filters plugins processors preprocessors types"
run-sbom: true
secrets:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}