Skip to content

ci: stop the Policy check from permanently failing Dependabot pull requests - #45

Merged
machamy merged 1 commit into
mainfrom
ci/dependabot-policy
Aug 16, 2026
Merged

machamy merged 1 commit into
mainfrom
ci/dependabot-policy

Conversation

@machamy

@machamy machamy commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Why

Policy exempts Dependabot from the branch-name rule but still enforces the Conventional Commit title rule. Dependabot titles its own PRs Bump the github-actions group ..., which can never match — so every dependency PR fails a check README.md lists as required for main. PR #44 is failing this way right now.

What changed

  • dependabot.yml now requests a build commit-message prefix, so future Dependabot PRs are titled conventionally on their own.
  • Policy skips the naming rules for dependabot/* branches, since PRs opened before that setting landed keep their old titles and would stay blocked forever. The signing-credential check still runs for those branches.

Verified locally against the extracted step script:

branch title result
dependabot/github_actions/x Bump the github-actions group ... pass
ci/release-apk-asset ci: attach the APK pass
badbranch ci: x fail
ci/ok Bump stuff fail

🤖 Generated with Claude Code

…quests

The naming policy exempted Dependabot from the branch-name rule but still
applied the Conventional Commit title rule to it. Dependabot titles its own
pull requests "Bump ...", so every dependency update failed a check README.md
lists as required for main and could never be merged.

Ask Dependabot for a Conventional Commit prefix in dependabot.yml so future
pull requests satisfy the rule on their own, and skip the naming policy for
Dependabot branches so the pull requests it has already opened are not
blocked by titles it will not rewrite. The signing-credential check still
runs for those branches.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@machamy
machamy merged commit 2c83e73 into main Aug 16, 2026
7 checks passed
@machamy
machamy deleted the ci/dependabot-policy branch August 16, 2026 16:42
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