Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update current ref #1472

Open
boozook opened this issue Sep 14, 2023 · 0 comments
Open

Update current ref #1472

boozook opened this issue Sep 14, 2023 · 0 comments

Comments

@boozook
Copy link

boozook commented Sep 14, 2023

Action should update current ref GITHUB_REF if happens all of this:

  • user doesn't requested ref for checkout, it was determined automatically, by default
  • error about wrong/missed ref caused, like this:
    Error: fatal: remote error: upload-pack: not our ref 2c236a8407998f89d9b4eeafe2ce792eb0a761b8
    

Currently actions doing reties with same (old) ref.
But it's wrong for cases when rebase happens at exactly this moment.

Reproduction for example: error and rebase.

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

No branches or pull requests

1 participant