Skip to content
Permalink
Browse files

doc: explain GIT_REMOTE_REF in COLLABORATOR_GUIDE

PR-URL: #30371
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
lundibundi authored and MylesBorins committed Nov 12, 2019
1 parent a836ac1 commit 768bac56780438dcd46feda7173a84e732d1d253
Showing with 6 additions and 0 deletions.
  1. +6 −0 COLLABORATOR_GUIDE.md
@@ -189,6 +189,12 @@ Build". It is in the left navigation of the relevant `node-test-pull-request`
job. It will preserve all the green results from the current job but re-run
everything else.

Some of the CI Jobs may require `GIT_REMOTE_REF` which is the remote portion
of Git refspec. To specify the branch this way `refs/heads/BRANCH` is used
(i.e for `master` -> `refs/heads/master`).
For pull requests it will look like `refs/pull/PR_NUMBER/head`
(i.e. for PR#42 -> `refs/pull/42/head`).

#### Useful CI Jobs

* [`node-test-pull-request`](https://ci.nodejs.org/job/node-test-pull-request/)

0 comments on commit 768bac5

Please sign in to comment.
You can’t perform that action at this time.