Skip to content

feat(security): add reusable security scan workflow#93

Merged
j7an merged 5 commits into
mainfrom
feat/security-scan-workflow
Jun 27, 2026
Merged

feat(security): add reusable security scan workflow#93
j7an merged 5 commits into
mainfrom
feat/security-scan-workflow

Conversation

@j7an

@j7an j7an commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add .github/workflows/security-scan.yml, a reusable workflow_call security scanning bundle for CodeQL, TruffleHog, Zizmor, Trivy, and OSV.
  • Add Bats contract tests for the workflow input surface, event gates, permissions model, pins, and scanner settings.
  • Document caller permissions, full/minimal/Node examples, merge queue opt-in, CodeQL default setup, required-check, and fork PR caveats.

Closes #89.

Validation

  • rtk bats tests/security-scan-workflow-contract.bats
  • rtk ./scripts/lint-workflow-call.sh
  • rtk ./scripts/lint-workflows.sh
  • rtk bats tests/lint-workflow-call.bats tests/lint-workflows.bats

@j7an j7an merged commit d71c41b into main Jun 27, 2026
7 checks passed
@j7an j7an deleted the feat/security-scan-workflow branch June 27, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a reusable security scanning workflow for sibling repos

1 participant