gh pr lock
does not accept url even though it is mentioned in the manual
#8816
Labels
bug
Something isn't working
help wanted
Contributions welcome
p3
Affects a small number of users or is largely cosmetic
Describe the bug
The
gh pr lock {<number> | <url>} [flags]
command is meant to accept pull request urls as per the manual but does accept them and shows an error:invalid issue format: "https://github.com/user/repo/pull/60"
.The screenshot provided shows the command and the error.
gh version 2.43.1 (2024-01-31)
Steps to reproduce the behavior
gh pr lock "https://github.com/username/repo/pull/number"
using valid username, repo, pull request number.Expected vs actual behavior
The gh pr lock command should accept url to the pr just like gh pr merge command accepts urls.
Logs
The text was updated successfully, but these errors were encountered: