Skip to content

ci(threat-model): enforce anchor checks on relevant path changes - #655

Open
elfelf2 wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
elfelf2:ci/threat-model-anchor-checks
Open

elfelf2 wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
elfelf2:ci/threat-model-anchor-checks

Conversation

@elfelf2

@elfelf2 elfelf2 commented Nov 24, 2026

Copy link
Copy Markdown

Summary

  • Add path-filtered .github/workflows/threat-model.yml that runs threat-model:test and threat-model:check as blocking CI when threat-model docs, security docs, or security-relevant code paths change.
  • Add scripts/threat-model-ci.test.mjs to assert the workflow wiring stays blocking and ordered.
  • Document the gate and local commands in docs/CI.md.

Closes #520

Test plan

  • node --test scripts/threat-model-ci.test.mjs
  • pnpm threat-model:test
  • pnpm threat-model:check
  • pnpm ci:pnpm-version:check

@drips-wave

drips-wave Bot commented Nov 24, 2026

Copy link
Copy Markdown

@elfelf2 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

ci(high/easy): enforce threat-model anchor checks

2 participants