Skip to content

docs: auto-merge reusable header — real merge gating + denylist as defense-in-depth#27

Merged
NWarila merged 1 commit into
mainfrom
fix/auto-merge-header-honest-enforcement
Jun 2, 2026
Merged

docs: auto-merge reusable header — real merge gating + denylist as defense-in-depth#27
NWarila merged 1 commit into
mainfrom
fix/auto-merge-header-honest-enforcement

Conversation

@NWarila

@NWarila NWarila commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Resolves audit R5 (upstream source) and the R14 reusable-header portion. Comment-only; corrects the false 'auto-merge waits for required status checks' claim (no required_status_checks are configured) and softens the OPA 'rejects PR-head references' over-claim to a defense-in-depth denylist. YAML parses; no denylist substrings in code lines (repo_hygiene OPA stays green).

…st as defense-in-depth

Resolves audit findings R5 (upstream source) and the R14 reusable-header portion.

- R5: the header claimed auto-merge 'waits for required status checks'. With no
  required_status_checks configured (current NWarila/nwarila-platform posture),
  GitHub completes the merge once the review requirements are met and does NOT
  wait for CI. Corrected the intro and the 'Auto-merge waits for...' note.
- R14: the header claimed the OPA policy 'rejects checkout/PR-head references'.
  It denies a denylist of known patterns (defense-in-depth, not exhaustive); the
  read-only-authorize / skipped-write-job split is the load-bearing safeguard.

Comment-only change; YAML parses; no denylist substrings introduced in code lines.
@NWarila NWarila merged commit fa75326 into main Jun 2, 2026
@NWarila NWarila deleted the fix/auto-merge-header-honest-enforcement branch June 2, 2026 15:09
NWarila added a commit that referenced this pull request Jun 5, 2026
…fense-in-depth (#27)

Resolves audit **R5** (upstream source) and the **R14** reusable-header
portion. Comment-only; corrects the false 'auto-merge waits for required
status checks' claim (no required_status_checks are configured) and
softens the OPA 'rejects PR-head references' over-claim to a
defense-in-depth denylist. YAML parses; no denylist substrings in code
lines (repo_hygiene OPA stays green).
NWarila added a commit that referenced this pull request Jun 6, 2026
…fense-in-depth (#27)

Resolves audit **R5** (upstream source) and the **R14** reusable-header
portion. Comment-only; corrects the false 'auto-merge waits for required
status checks' claim (no required_status_checks are configured) and
softens the OPA 'rejects PR-head references' over-claim to a
defense-in-depth denylist. YAML parses; no denylist substrings in code
lines (repo_hygiene OPA stays green).
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.

1 participant