From 9940116aba0b2dd2b574db21bb24819a498c5d0d 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 PR-URL: https://github.com/nodejs/node/pull/30371 Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater --- COLLABORATOR_GUIDE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/COLLABORATOR_GUIDE.md b/COLLABORATOR_GUIDE.md index 36c2a89758d9b0..0c5711fe8a85c5 100644 --- a/COLLABORATOR_GUIDE.md +++ b/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/)