Skip to content

Incompatible with actions/checkout@v6Β #4228

Closed

Description

@ZebraFlesh

GitHub Actions published a new v6.0.0 version of actions/checkout. As soon as renovate pulled in this update, the create-pull-request action began to fail with the following output:

Checking the base repository state
  /usr/bin/git symbolic-ref HEAD --short
  <my branch name>
  Working base is branch '<my branch name>'
  /usr/bin/git remote prune origin
  remote: Duplicate header: "Authorization"
  fatal: unable to access '<repository URL': The requested URL returned error: 400
  Error: The process '/usr/bin/git' failed with exit code 128

The action configuration is pretty vanilla:

- name: Create Pull Request
  uses: Peter/evans/create-pull-request@v7
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
    branch: ${{ env.PR_BRANCH_NAME }}
    base: ${{ GitHub.head_ref }}
    delete-branch: true
    title: ...
    add-paths: ...
    body: ...
    commit-message: ...

Rolling back to actions/checkout@v5 resolved the error and this action then runs as expected.

Activity

  1. changed the title [-]Incompatible with actions/checkout@6[/-] [+]Incompatible with actions/checkout@v6[/+] on Nov 20, 2025
  2. ericsciple commented on Nov 21, 2025

    @ericsciple
    Contributor

    A workaround is to set persist-credentials: false for actions/checkout

  3. ericsciple commented on Nov 22, 2025

    @ericsciple
    Contributor

    I proposed a quick solution here:

  4. added a commit that references this issue on Nov 22, 2025
    84ae59a
  5. peter-evans commented on Nov 22, 2025

    @peter-evans
    Owner

    Fixed in v7.0.9 / v7. Thank you @ericsciple!

  6. ericsciple commented on Nov 22, 2025

    @ericsciple
    Contributor

    Thanks @peter-evans!

  7. added a commit that references this issue on Nov 23, 2025
    675d766
  8. added a commit that references this issue on Dec 8, 2025
    2b2685c
  9. added a commit that references this issue on Dec 20, 2025
  10. added a commit that references this issue on Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions