Skip to content

Fix git push auth: includeIf regex case mismatch - #28

Merged
theoephraim merged 1 commit into
mainfrom
fix/includeif-case
Apr 21, 2026
Merged

theoephraim merged 1 commit into
mainfrom
fix/includeif-case

Conversation

@theoephraim

Copy link
Copy Markdown
Member

Summary

  • git config --get-regexp outputs keys in lowercase (includeif.gitdir:...), but the regex used ^includeIf\.gitdir: (capital I/F) which never matched
  • This meant actions/checkout@v6 credential config files were never cleared, and their injected GITHUB_TOKEN auth header overrode the custom BUMPY_GH_TOKEN URL — causing the push to fail
  • This was a latent bug in the original code, likely masked before checkout@v6 started using includeIf credential files

Test plan

  • Verify bumpy ci release successfully pushes the version PR branch

🤖 Generated with Claude Code

git config --get-regexp outputs all keys in lowercase, but our regex
used ^includeIf (capital I, capital F) which never matched. This meant
the checkout@v6 credential config files were never cleared, and their
injected GITHUB_TOKEN auth header overrode our custom token URL.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bumpy-bot

Copy link
Copy Markdown
Collaborator

bumpy-frog

The changes in this PR will be included in the next version bump.

patch Patch releases

  • @varlock/bumpy 0.0.2 → 0.0.3

Bump files in this PR

Click here if you want to add another bump file to this PR


This comment is maintained by bumpy.

@theoephraim
theoephraim merged commit 889826d into main Apr 21, 2026
2 checks passed
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.

2 participants