Skip to content

ci: Dependabot npm branch names without a .github path component - #41

Merged
predictor2718 merged 1 commit into
mainfrom
fix/dependabot-npm-branch-name
Oct 31, 2026
Merged

predictor2718 merged 1 commit into
mainfrom
fix/dependabot-npm-branch-name

Conversation

@predictor2718

Copy link
Copy Markdown
Member

Follow-up to #40.

What changed

The npm entry for .github/site-checks now sets pull-request-branch-name.separator: "-".

Why

Right after the merge, Dependabot's first npm run failed while creating the update for html-validate. The run logged:

dependency_file_not_supported: The request contains invalid or unauthorized changes

With the default separator /, the branch name contains .github as a path component of its own, dependabot/npm_and_yarn/.github/site-checks/…. Git ref names may not have a component that starts with a dot, so GitHub rejects the ref. With - the directory is no longer a component of its own: the branch becomes dependabot-npm_and_yarn-.github-site-checks-….

The other ecosystems keep their branch names.

How to test

After the merge, check that the next "Dependabot Updates" run for npm opens a PR instead of failing.

Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
@predictor2718
predictor2718 merged commit c573004 into main Oct 31, 2026
4 checks passed
@predictor2718
predictor2718 deleted the fix/dependabot-npm-branch-name branch October 31, 2026 11:35
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