Open qubitz opened 1 year ago
This isn't something we can change ourselves, as the endpoints are auto-generated from GitHub's OpenAPI spec.
To get this fixed, open an issue on their repo: https://github.com/github/rest-api-description/
Thanks for the quick response @wolfy1339, that makes a lot of sense. I transferred the issue to https://github.com/github/rest-api-description/issues/2746
Let's keep this open for tracking on our side
Describe the need
The documentation for
octokit.rest.git.updateRef()
should correct its requirement of a fully qualified reference. After some iterations trying to use this endpoint, I discovered that fully qualified tag references resulted in "Reference does not exist" response errors.The documentation currently describes the
ref
parameter as:Based on limited testing, it seems that it should be renamed to something along the lines of:
Further testing is needed to see if it applies to similar endpoints. Happy to help in this regard if there is interest.
Similar issues:
SDK Version
actions/github-script@v6
API Version
v19
Relevant log output
Code of Conduct