Fix compatibility with actions/checkout@v6 by ericsciple · Pull Request #4230 · peter-evans/create-pull-request (original) (raw)

@ericsciple

Temporarily hides checkout@v6 credential files to prevent duplicate Authorization headers.

Fixes peter-evans#4228

ericsciple

kdeldycke added a commit to kdeldycke/repomatic that referenced this pull request

Nov 23, 2025

@kdeldycke

MrSom3body added a commit to MrSom3body-contrib/update-flake-lock that referenced this pull request

Nov 23, 2025

@MrSom3body

This was referenced

Nov 24, 2025

mergify Bot added a commit to robfrank/linklift that referenced this pull request

Nov 24, 2025

@mergify

yihui added a commit to yihui/mime that referenced this pull request

Dec 1, 2025

@yihui

JeanBarriere pushed a commit to sede-open/create-pull-request-v7 that referenced this pull request

Dec 8, 2025

@ericsciple @JeanBarriere

Temporarily hides checkout@v6 credential files to prevent duplicate Authorization headers.

Fixes peter-evans#4228

This was referenced

Jan 6, 2026

mhamza15 added a commit to mhamza15/opencode that referenced this pull request

Jan 11, 2026

@mhamza15

actions/checkout@v6 stores git credentials in a separate file in RUNNER_TEMP and references it via includeIf directives in .git/config. This caused duplicate Authorization headers when we set our own credentials, resulting in HTTP 400 errors during git fetch.

The fix temporarily hides the checkout credential files by renaming them with a .opencode-bak suffix before configuring our auth, then restores them after for subsequent workflow steps.

Inspired by: peter-evans/create-pull-request#4230

mhamza15 added a commit to mhamza15/opencode that referenced this pull request

Jan 11, 2026

@mhamza15

actions/checkout@v6 stores git credentials in a separate file in RUNNER_TEMP and references it via includeIf directives in .git/config. This caused duplicate Authorization headers when we set our own credentials, resulting in HTTP 400 errors during git fetch.

The fix temporarily hides the checkout credential files by renaming them with a .opencode-bak suffix before configuring our auth, then restores them after for subsequent workflow steps.

Inspired by: peter-evans/create-pull-request#4230

PatMyron added a commit to PatMyron/PatMyron that referenced this pull request

Mar 24, 2026

@PatMyron

PatMyron added a commit to PatMyron/forecasting that referenced this pull request

Mar 24, 2026

@PatMyron

PatMyron added a commit to PatMyron/terraformation that referenced this pull request

Mar 24, 2026

@PatMyron

PatMyron added a commit to PatMyron/cloudformation-resource-providers that referenced this pull request

Mar 24, 2026

@PatMyron

PatMyron added a commit to PatMyron/cloudformation-resource-providers that referenced this pull request

Mar 24, 2026

@PatMyron

This was referenced

Jun 3, 2026

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})