Skip to content

Fix duplicate Authorization header causing process-submission workflow failure - #622

Merged
webprofusion-chrisc merged 2 commits into
masterfrom
copilot/fix-failing-github-actions-job
Aug 26, 2026
Merged

Fix duplicate Authorization header causing process-submission workflow failure#622
webprofusion-chrisc merged 2 commits into
masterfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

peter-evans/create-pull-request@v6 was failing with remote: Duplicate header: "Authorization" (HTTP 400) because actions/checkout@v7 persists credentials into the local git config, and create-pull-request then injects its own Authorization header on top — resulting in two headers on the same request.

Change

  • Added persist-credentials: false to actions/checkout@v7 so git config is left clean, letting create-pull-request own authentication exclusively via its token input.
- name: Checkout repository
  uses: actions/checkout@v7
  with:
    persist-credentials: false

…lse on checkout

Co-authored-by: webprofusion-chrisc <2445502+webprofusion-chrisc@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'process' Fix duplicate Authorization header causing process-submission workflow failure Aug 26, 2026
@webprofusion-chrisc
webprofusion-chrisc marked this pull request as ready for review August 26, 2026 06:00
@webprofusion-chrisc
webprofusion-chrisc merged commit 187aa08 into master Aug 26, 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