Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Loses PR content(title, message) if unable to push to remote branch #768

@bryceosterhaus

Description

@bryceosterhaus

Version number
2.8.3

Describe the bug
Occasionally the remote branch I will be pushing to is not able to be updated unless I force push. But I don't know this until after I fill out the title and message of the pull-request. So typically I will craft a PR and finish the content, then while node-gh is trying to push it fails and loses my previous content.

To Reproduce
Steps to reproduce the behavior:

  1. create a local branch that you are unable to push without force pushing
  2. create a PR, fill out content
  3. as the pr sends, it will fail and you will lose your content.

Expected behavior
I would expect it to try and push my changes to my remote before I fill out the PR message and title.
Or I would expect it to somehow save my content for my next try.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions