Files
davila7__claude-code-templates/.github/workflows/skill-security-scan-all.yml
dependabot[bot] fb47a54abb chore(deps): bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-11 06:43:52 +00:00

65 lines
1.7 KiB
YAML

name: Skill Security Scan (Full)
# Scans EVERY skill component with SkillSpector (NVIDIA, Apache-2.0) static
# analysis. Runs weekly and on demand. Reports only — never blocks. Uploads
# an aggregated SARIF to code scanning and a Markdown summary to the run.
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1' # Mondays 06:00 UTC
permissions:
contents: read
security-events: write
jobs:
skill-scan-all:
name: SkillSpector (all skills)
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install SkillSpector
run: pip install "git+https://github.com/NVIDIA/skillspector.git@main"
- name: Run SkillSpector on all skills
id: scan
continue-on-error: true
run: |
python scripts/skillspector_scan.py \
--all \
--threshold 50 \
--output-md skillspector-report.md \
--output-sarif skillspector.sarif
- name: Publish summary
if: always()
run: cat skillspector-report.md >> "$GITHUB_STEP_SUMMARY"
- name: Upload report artifacts
if: always()
uses: actions/upload-artifact@v7
with:
name: skillspector-full-report
path: |
skillspector-report.md
skillspector.sarif
retention-days: 90
- name: Upload SARIF to code scanning
if: always()
continue-on-error: true
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: skillspector.sarif
category: skillspector-full