Skip to content

Commit 14fb309

Browse files
committed
chore: add SCA workflow from unified-pipeline-template
1 parent 8cb0b20 commit 14fb309

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/sca.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: SCA Scan
2+
3+
# Example: invoke the reusable sca-scan workflow from auth0/devsecops-tooling.
4+
# Reusable workflows are called at job level via `uses:`.
5+
# Copy this job block into your .github/workflows/ file.
6+
#
7+
# Required org secrets (configured at org level in auth0/):
8+
# SNYK_TOKEN — Snyk organisation token
9+
# SIGNAL_HANDLER_TOKEN — scan-service telemetry auth
10+
# SIGNAL_HANDLER_DOMAIN — scan-service endpoint domain
11+
12+
on:
13+
push:
14+
branches: [main]
15+
pull_request:
16+
branches: [main]
17+
18+
jobs:
19+
# ── SCA / Snyk scan via reusable workflow ───────────────────────────────────
20+
sca:
21+
uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@e29f26478db18ff0bcbe4bc447a8fbd54fbeec9e
22+
with:
23+
# All inputs are optional — defaults shown. Uncomment and override as needed.
24+
# node-version: '16'
25+
# java-version: '11'
26+
# go-version: '1.22'
27+
# python-version: '3.10'
28+
# ruby-version: '4.0'
29+
# php-version: '8.5'
30+
# dotnet-version: '6'
31+
# dotnet-install-dir: '/usr/share/dotnet/'
32+
# snyk-version: 'v1.1292.0'
33+
# additional-arguments: '' # extra Snyk CLI flags, e.g. '--severity-threshold=high'
34+
# pre-scan-commands: '' # shell commands to run before Snyk (e.g. 'npm ci')
35+
# runner: 'ubuntu-latest'
36+
secrets: inherit

0 commit comments

Comments
 (0)