🤖 Generated by the Agentic Engineer
Objective
Prevent an eligible pull request from merging until secret scanning has completed for its current head and every secret-scanning alert introduced by that pull request is resolved.
Context
GitHub added the public-preview ruleset type require_secret_scanning_alert_resolution on 2026-09-09. It complements push protection by enforcing a second control at merge time.
Current verified evidence for devantler-tech/monorepo:
- Secret scanning, push protection, validity checks, non-provider patterns, and AI detection are enabled.
- Open secret-scanning alerts are zero.
- None of the 13 applicable active branch rulesets contains the new rule.
- Portfolio-wide eligibility and ruleset coverage have not yet been completely joined.
References:
Desired state
An organization or repository ruleset targets every eligible active portfolio repository and requires secret-scanning alerts introduced by a pull request to be resolved before merge. Provider-secret patterns are the initial floor. Generic and custom patterns are included only after their false-positive behavior is measured. Bypass actors remain minimal, explicit, and reviewed.
Acceptance criteria
Dependencies
Notes
Keep public evidence at desired-state and checklist level. Do not publish real credentials, exploitable test values, or private alert details.
Blocker: crossplane-contrib/provider-upjet-github OrganizationRuleset lacks a secret-scanning alert resolution rule | upstream | last-verified 2026-09-19: absent from the deployed v0.19.1 CRD schema
Objective
Prevent an eligible pull request from merging until secret scanning has completed for its current head and every secret-scanning alert introduced by that pull request is resolved.
Context
GitHub added the public-preview ruleset type
require_secret_scanning_alert_resolutionon 2026-09-09. It complements push protection by enforcing a second control at merge time.Current verified evidence for
devantler-tech/monorepo:References:
Desired state
An organization or repository ruleset targets every eligible active portfolio repository and requires secret-scanning alerts introduced by a pull request to be resolved before merge. Provider-secret patterns are the initial floor. Generic and custom patterns are included only after their false-positive behavior is measured. Bypass actors remain minimal, explicit, and reviewed.
Acceptance criteria
secret_typesscope from measured signal; provider patterns are mandatory, while generic/custom categories require false-positive evidence.require_secret_scanning_alert_resolutionthrough the reviewed declarative path when supported, otherwise use the documented API/settings path and record the remaining GitOps gap under Adopt remaining rulesets declaratively as provider-upjet-github gains support (10 org rulesets + push + Actions policies) #69.Dependencies
Notes
Keep public evidence at desired-state and checklist level. Do not publish real credentials, exploitable test values, or private alert details.
Blocker: crossplane-contrib/provider-upjet-github OrganizationRuleset lacks a secret-scanning alert resolution rule | upstream | last-verified 2026-09-19: absent from the deployed v0.19.1 CRD schema