Skip to content

Can't push pull request branch #633

Closed
@aweris

Description

@aweris

Subject of the issue

Getting error Pushing pull request branch to 'origin/promote' after upgrade v3

 /usr/bin/git push --force-with-lease origin HEAD:refs/heads/promote
  To https://github.com/<retacted>
   ! [rejected]          HEAD -> promote (stale info)
  error: failed to push some refs to 'https://github.com/<retacted>'
  Error: The process '/usr/bin/git' failed with exit code 1

Steps to reproduce

Not sure if it's reproducible outside of our repo. We're using the on schedule action to create image promotion PR's. We only upgraded v3 because of the The set-env command is disabled. warnings.

Possibly, create a new branch not exist remotely could reproduces the error.

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