What article on docs.github.com is affected?
https://github.com/github/docs/blob/main/content/admin/policies/creating-a-pre-receive-hook-script.md
What part(s) of the article would you like to see updated?
The environment variable $GITHUB_VIA has a list of possible values.
- This list needs an explanation of the meaning of each value (ex:
slumlord, stafftools, etc are unclear)
- This list needs to be updated to be current. For example, editing a file in Github's editor gives the value
blob#save which isn't listed in the table at all.
- This list needs to make clear that remote pushes (end user running
git push in their local terminal) will not have $GITHUB_VIA set, and to list what other situations this variable will not be set.
Additional information
I would make this change myself but I honestly am having trouble determining the intended behavior! A docs update would be a great help to me.
What article on docs.github.com is affected?
https://github.com/github/docs/blob/main/content/admin/policies/creating-a-pre-receive-hook-script.md
What part(s) of the article would you like to see updated?
The environment variable $GITHUB_VIA has a list of possible values.
slumlord,stafftools, etc are unclear)blob#savewhich isn't listed in the table at all.git pushin their local terminal) will not have$GITHUB_VIAset, and to list what other situations this variable will not be set.Additional information
I would make this change myself but I honestly am having trouble determining the intended behavior! A docs update would be a great help to me.