From 5a195a155a579d2a76c8910a7f15083c31a57c3e Mon Sep 17 00:00:00 2001 From: Denys Otrishko Date: Tue, 12 Nov 2019 10:44:32 +0200 Subject: [PATCH] doc: explain GIT_REMOTE_REF in COLLABORATOR_GUIDE --- COLLABORATOR_GUIDE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/COLLABORATOR_GUIDE.md b/COLLABORATOR_GUIDE.md index 0315a2dbb83001..3c13cbd6b6b149 100644 --- a/COLLABORATOR_GUIDE.md +++ b/COLLABORATOR_GUIDE.md @@ -181,6 +181,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/)