Closed
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
This is in any article that uses the cURL/JavaScript/GitHub CLI examples.
Here is what it looks like for me:
That request will produce a 404. Whereas this request works:
gh api \
-H "Accept: application/vnd.github+json" \
repos/OWNER/REPO/actions/artifacts
The only difference is in removal of the leading slash.
What changes are you suggesting?
The examples don't work as written, apparently due to the leading slash before repos
. That slash is (correctly) not used in the examples in the documentation of the gh api
subcommand.
I presume these examples are generated and that a single code change would correct all instances.
Additional information
No response