You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(actions/threatcrush-scan): ship the converter to an allowed destination
Every test in packages/actions failed with "Invalid action-pack manifest:
1 issue(s)" — the pack sent threatcrush-to-sarif.py to .github/, which the
destination allowlist rejects. Because each test loads the whole catalog,
one bad manifest took all 15 down, including the four unrelated packs.
Move the converter to .github/scripts/ and update the workflow, README and
test expectations to match.
Also fix the pull_request_target assertion, which the manifest error had
been masking: it substring-matched the entire rendered workflow, so the
comment explaining why the pack deliberately stays on `pull_request`
tripped it. Strip comments first and assert on the trigger block, so the
check tests the directive rather than forbidding its own rationale.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments