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
- Type
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
C:\dev\projects\GitHub\PortfolioWebsite>gh pr lock "https://github.com/alvinsjoy/PortfolioWebsite/pull/60" --reason reso
lved
invalid issue format: "https://github.com/alvinsjoy/PortfolioWebsite/pull/60"
C:\dev\projects\GitHub\PortfolioWebsite>gh --version
gh version 2.43.1 (2024-01-31)
https://github.com/cli/cli/releases/tag/v2.43.1
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