github / docs

The open-source repo for docs.github.com
https://docs.github.com
Creative Commons Attribution 4.0 International
16.4k stars 59.99k forks source link

Show relative path examples, because filenames alone won't work #35386

Closed gregorywilliams closed 4 days ago

gregorywilliams commented 4 days ago

Why:

Show relative path examples, because just using filenames results in a 404 response.

Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Changed example workflow from just filename, main.yml, to a path relative to the repo, .github/workflows/main.yml, which matches the paths that the List and Get calls return.

Check off the following:

github-actions[bot] commented 4 days ago

👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions:

You'll need to revert all of the files you changed that match that list using GitHub Desktop or git checkout origin/main <file name>. Once you get those files reverted, we can continue with the review process. :octocat:

The complete list of files we can't accept are:

We also can't accept contributions to files in the content directory with frontmatter type: rai.

nguyenalex836 commented 4 days ago

Howdy @gregorywilliams! 👋 Unfortunately our bot is correct - we aren't able to accept contributions to these files.

I'll file an issue to have this reviewed internally - thank you for the heads up on this! 💛