Skip to content

fix: exempt verified Dependabot updates from issue closer - #2481

Merged
groupthinking merged 2 commits into
mainfrom
codex/dependabot-issue-closer
Oct 28, 2026
Merged

groupthinking merged 2 commits into
mainfrom
codex/dependabot-issue-closer

Conversation

@groupthinking

@groupthinking groupthinking commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Closes #2480

Summary

  • Exempt verified same-repository Dependabot updates on dependabot/ branches from the open-issue closing-keyword check.
  • Keep the existing open-issue requirement for human PRs, forked PRs, and mismatched branches. Other CI and security checks stay in force.

This aligns the issue-closer gate with the repository reconciliation workflow, which already excludes Dependabot dependency updates from missing-issue drift. PR #2462 currently has this as its only failed check.

Paths changed

  • .github/workflows/require-issue-closer.yml
  • tests/unit/test_require_issue_closer_workflow.py
  • tests/unit/test_dependency_review_workflow.py (aligns an existing license-policy assertion with main)

Validation

  • uv run --no-project --with pytest --with pyyaml python -m pytest -q -o addopts='' tests/unit/test_require_issue_closer_workflow.py tests/unit/test_dependency_review_workflow.py — 10 passed, covering accepted bot updates and rejected human/fork/mismatched/closed-issue cases.
  • Ruff lint and format checks, plus git diff --check — passed.

All hosted checks on exact head 34bfcd0 passed, and the pull request is mergeable. After this reaches main, rerun the issue-closer check on a real Dependabot PR before calling the shared fix complete. No production runtime change is involved.

@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Oct 28, 2026 8:05am UTC

Copilot AI balanced review requested due to automatic review settings October 28, 2026 08:00
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Copilot AI previously approved these changes Oct 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

No active review issues were identified for the scoped Dependabot exemption.

No open issues 🎉

What changed in this PR

Aligns the issue-closer gate with repository reconciliation policy by exempting verified Dependabot updates, addressing #2480 without changing production runtime behavior.

Changes:

  • Exempts PRs only when authored by dependabot[bot], originating from the same repository, and using a dependabot/ branch.
  • Preserves the open-issue requirement for other PRs and leaves other CI and security checks unchanged.
  • Adds six regression cases covering the exemption and rejected metadata or issue states.
File Description
tests/​unit/​test_require_issue_closer_workflow.py Adds parameterized tests for Dependabot eligibility and open-issue enforcement.
.github/​workflows/​require-issue-closer.yml Adds event metadata checks and an early pass for qualifying Dependabot PRs.

Review effort: Balanced

@groupthinking
groupthinking merged commit ba2777d into main Oct 28, 2026
33 checks passed
@groupthinking
groupthinking deleted the codex/dependabot-issue-closer branch October 28, 2026 08:18
@linear-code

linear-code Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

GRV-850

This branch was successfully deployed

1 active deployment
Preview — 34bfcd01 Deployed Oct 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exempt verified Dependabot updates from the issue-closer gate

2 participants