Skip to content

Pre-receive hooks/$GITHUB_VIA #1082

Closed
Closed
@blastedt

Description

@blastedt

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.

  1. This list needs an explanation of the meaning of each value (ex: slumlord, stafftools, etc are unclear)
  2. 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.
  3. 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.

Metadata

Metadata

Assignees

Labels

contentThis issue or pull request belongs to the Docs Content teamhelp wantedAnyone is welcome to open a pull request to fix this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions