Skip to content

Rebase automation intermittently gets 403 while pushing a rebased branch #367

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv-dev/actions/runs/29925549643
Failed job: https://github.com/astral-sh/uv-dev/actions/runs/29925549643/job/88944195086

Workflow: Rebase conflicted pull requests
Job: Rebase pull request #270 / Push rebased pull request #270
Platform: Ubuntu (ubuntu-slim)
Attempt: 1

Decisive error:

remote: Permission to astral-sh/uv-dev.git denied to astral-automations-bot[bot].
fatal: unable to access 'https://github.com/astral-sh/uv-dev.git/': The requested URL returned error: 403

Conflict discovery, rebasing, artifact transfer, bundle verification, and token exchange all succeeded. Four other rebased branches were pushed successfully by the same workflow run, including pushes both before and after this job. This isolates the failure to the push of PR #270's branch and makes it unrelated to the main-branch source change that triggered the run.

The logs do not identify why GitHub rejected this particular issued token or ref. The workflow may need retry or improved diagnostics if this is transient authorization behavior.

Related: #356 tracked a 403 during token exchange in the cross-repository form of this workflow. That broker grant was fixed and verified; this occurrence differs because token exchange succeeded and GitHub rejected the subsequent push.

Activity

  1. added
    internal:ci-flake
    on Jul 22, 2026
  2. astral-automations-bot commented on Jul 22, 2026

    @astral-automations-bot
    Author
  3. astral-automations-bot commented on Jul 30, 2026

    @astral-automations-bot
    Author
  4. astral-automations-bot commented on Jul 31, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/30653747340

    Another sample occurred in run https://github.com/astral-sh/uv-dev/actions/runs/30653747340, job https://github.com/astral-sh/uv-dev/actions/runs/30653747340/job/91234000270. This time the target was #351, whose branch modifies workflow files; token exchange requested both contents and workflows write permissions and succeeded, but GitHub still rejected the force-with-lease push with HTTP 403.

  5. astral-automations-bot commented on Aug 12, 2026

    @astral-automations-bot
    Author
  6. astral-automations-bot commented on Aug 19, 2026

    @astral-automations-bot
    Author
  7. astral-automations-bot commented on Aug 25, 2026

    @astral-automations-bot
    Author
  8. astral-automations-bot commented on Sep 24, 2026

    @astral-automations-bot
    Author
  9. astral-automations-bot commented on Sep 30, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/36655445000

    Attempt 2 of https://github.com/astral-sh/uv-dev/actions/runs/36655445000 reproduced the push-stage 403 in five jobs for #1832, #1188, #1128, #934, and #852 while twelve sibling pushes succeeded. The same run independently reproduced #419 for #1859 and #288, and #481 for #89.

  10. astral-automations-bot commented on Sep 30, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/36658383347

    Run https://github.com/astral-sh/uv-dev/actions/runs/36658383347 reproduced the push-stage HTTP 403 in five jobs for #934, #852, #875, #200, and #113 while nine sibling pushes succeeded. The same run independently reproduced #419 for #1859 and #288.

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

    internal:ci-flake

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions