-
Notifications
You must be signed in to change notification settings - Fork 64.9k
Closed
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamecosystemThis issue or pull request should be reviewed by the Docs Ecosystem teamThis issue or pull request should be reviewed by the Docs Ecosystem team
Description
What article on docs.github.com is affected?
https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables
What part(s) of the article would you like to see updated?
The documentation for GITHUB_BASE_REF and GITHUB_HEAD_REF says that they're both "only set for forked repositories". However, when I create a create a pull request in a repository that is not forked, they are set to the base branch and branch to be merged in, respectively. See an example here.
Is this expected behaviour? If yes, should the docs not be updated to reflect this?
Metadata
Metadata
Assignees
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamecosystemThis issue or pull request should be reviewed by the Docs Ecosystem teamThis issue or pull request should be reviewed by the Docs Ecosystem team
