Context
PR #264 added the security-sast-scan CI job to .github/workflows/_required.yml as part of issue #157. The job runs Bandit (medium+ severity) as a required check alongside security/dependency-scan and security/secrets-scan.
However, the repo's branch ruleset (homeric-main-baseline, id 15556487) does not yet list security/sast-scan as a required status check. Without this, PRs with SAST findings can merge unblocked.
Confirmed via:
gh api repos/HomericIntelligence/ProjectTelemachy/rulesets/15556487 \
--jq '[.rules[] | select(.type=="required_status_checks") | .parameters.required_status_checks[].context]'
# Returns: ["lint","unit-tests","integration-tests","security/dependency-scan","security/secrets-scan","build","schema-validation","deps/version-sync"]
# Missing: "security/sast-scan"
Fix
An admin must add security/sast-scan to the ruleset's required status checks. The sibling security checks use integration_id: 15368 (GitHub Actions app).
# Fetch current ruleset to edit
gh api repos/HomericIntelligence/ProjectTelemachy/rulesets/15556487 > /tmp/ruleset.json
# Add the new check to required_status_checks array in the rules[].parameters block,
# then PATCH:
gh api -X PUT repos/HomericIntelligence/ProjectTelemachy/rulesets/15556487 \
--input /tmp/ruleset-updated.json
The updated required_status_checks array should include:
{"context": "security/sast-scan", "integration_id": 15368}
alongside the existing security/dependency-scan and security/secrets-scan entries.
Why now
Without this, security-sast-scan is advisory only — a PR author can ignore a red SAST gate and merge. The goal of issue #157 was to make SAST a merge gate, not an informational check.
Part of #92, closes the remaining enforcement gap from #157.
Context
PR #264 added the
security-sast-scanCI job to.github/workflows/_required.ymlas part of issue #157. The job runs Bandit (medium+ severity) as a required check alongsidesecurity/dependency-scanandsecurity/secrets-scan.However, the repo's branch ruleset (
homeric-main-baseline, id15556487) does not yet listsecurity/sast-scanas a required status check. Without this, PRs with SAST findings can merge unblocked.Confirmed via:
Fix
An admin must add
security/sast-scanto the ruleset's required status checks. The sibling security checks useintegration_id: 15368(GitHub Actions app).The updated
required_status_checksarray should include:{"context": "security/sast-scan", "integration_id": 15368}alongside the existing
security/dependency-scanandsecurity/secrets-scanentries.Why now
Without this,
security-sast-scanis advisory only — a PR author can ignore a red SAST gate and merge. The goal of issue #157 was to make SAST a merge gate, not an informational check.Part of #92, closes the remaining enforcement gap from #157.