Skip to content

fix: allow verified Dependabot workflow updates to auto-merge - #7

Merged
acgetchell merged 2 commits into
mainfrom
fix/dependabot-owner-review
Oct 25, 2026
Merged

acgetchell merged 2 commits into
mainfrom
fix/dependabot-owner-review

Conversation

@acgetchell

Copy link
Copy Markdown
Owner

Dependabot PR #5 receives the verified shared workflow's approval but cannot auto-merge because the blanket .github/** CODEOWNER rule also requires a human approval. Delaunay accepts the normal one-approval requirement without requiring owner approval.

Add documented empty-owner exceptions for seven exact workflow/setup paths already accepted by the pinned research-repo-tools Dependabot caller. This lets routine signed Dependabot updates use the shared approval and native auto-merge while retaining hosted CODEOWNER enforcement for root CodeRabbit configurations, CODEOWNERS itself, settings snapshots, Dependabot configuration, the approval workflow, and other GitHub paths. Required CI, code scanning, thread resolution, and changed-paper builds remain in force.

Path exceptions apply to every author. Ordinary workflow PRs still need manual review because CodeRabbit automatic approval remains disabled for .github/** and the shared approval job only accepts verified Dependabot PRs. Updates to the approval workflow itself retain human owner review, including when proposed by Dependabot.

GitHub reads CODEOWNERS from the base branch, so this policy change needs a manual maintainer merge before #5 can benefit. Dependabot then needs to rebase onto the updated main, receive current-head approval from the shared workflow, and pass fresh checks; native auto-merge is already armed for #5. See GitHub's documented empty-owner exceptions and base-branch behavior.

Validation: just check, just ci (36 tests), and git diff --check pass. A native Git pattern check verifies that the seven exceptions exactly match the shared caller's file policy minus its protected approval workflow, that ten policy/future paths remain human-owned, and that all nine TeX sources remain unowned. Live hosted settings retain one required approval, CODEOWNER enforcement, and no application bypass. Python, package/tool versions, workflows, and manuscript inputs are unchanged.

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

⚠️ Automatic approval withheld

Automatic approval is disabled by the configured approval policy for this pull request. Review comments and requests for changes continue normally.

Next step: Have a maintainer review and approve directly in your Git provider. The approve and resolve commands do not bypass this policy.

Assessed commit: c14a10d89f80.

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 033a54b and 8a58845.

Files selected for processing: 3
  • .github/CODEOWNERS
  • CONTRIBUTING.md
  • docs/SECURING.md

Limit details: You’ve used the included review currently available. Your 68 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

ℹ️ Recent review info
Automatic approval policy

Assessed commit: c14a10d89f80.

Setting Effective value Source
Automatic approvals Disabled Override 1
Merge risk Low Global configuration
Security risk Not set Global configuration

Matching overrides (numbered as in the resolved configuration):

  • Override 1 — any author; paths: .github/**; automatic approvals: disabled.

Any matching disabled override withholds approval, regardless of risk. Otherwise, the strictest explicitly set limit wins for each score. Limits omitted by all matching overrides inherit the global configuration.

Not set means no limit was configured after inheritance. Use @coderabbitai configuration to inspect the resolved settings and their sources.

📝 Summary

Summary by CodeRabbit

  • Documentation
    • Clarified review requirements for routine workflow and setup-action changes, including when a verified Dependabot approval can satisfy the standard approval requirement.
    • Updated security guidance to distinguish routine dependency updates from owned policy changes, which still require human owner review.
  • Chores
    • Adjusted ownership rules for selected routine automation paths; other workflow changes remain subject to manual review.

CODEOWNERS adds empty-owner rules for seven routine workflow and setup-action paths. CONTRIBUTING.md and docs/SECURING.md describe how verified Dependabot approvals apply to those paths and which files retain human ownership requirements.

Changes: Approval ownership policy

Layer / File(s) Summary
Define and document ownership exceptions
.github/CODEOWNERS, CONTRIBUTING.md, docs/SECURING.md
CODEOWNERS adds empty-owner rules for seven routine paths. The documentation describes the verified Dependabot approval conditions, retained human ownership requirements, and base-branch CODEOWNERS behavior.

Priority: Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related PRs

  • acgetchell/Papers#6: Introduced the shared Dependabot approval workflow and the seven routine paths that this PR exempts from CODEOWNERS ownership.
  • acgetchell/Papers#3: Established default human ownership and the CODEOWNER merge gate that this PR narrows for the listed paths.
Merge Risk: Minimal · up to 8a588

This change lets verified Dependabot updates to routine workflow and setup-action paths be approved without a human CODEOWNER. Ordinary workflow PRs still need manual review, and policy files stay human-owned. No actionable merge-blocking risk was found. The policy must be merged to main before Dependabot PR #5 benefits.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly summarizes the primary change: allowing verified Dependabot workflow updates to auto-merge.
Description check Passed The description directly explains the CODEOWNERS exceptions, Dependabot approval flow, retained protections, and validation results.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@acgetchell
acgetchell marked this pull request as ready for review October 25, 2026 07:21
@acgetchell acgetchell self-assigned this Oct 25, 2026
@acgetchell
acgetchell merged commit 1a1d367 into main Oct 25, 2026
13 checks passed
@acgetchell
acgetchell deleted the fix/dependabot-owner-review branch October 25, 2026 07:23
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