Update a reference with PR involved via API will accidentally close the PR #148491
Unanswered
nekolab
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
API doc: https://docs.github.com/en/rest/git/refs?apiVersion=2022-11-28#update-a-reference
Existing discussion: octokit/octokit.js#1373
Steps to reproduce the issue:
Expected behavior:
The PR created in step 1 will remain open state
Actual behavior:
The PR created in step 1 closed
The "force update reference" should behave like
git push --force
and not affect any PRBeta Was this translation helpful? Give feedback.
All reactions