From 3866f37145b3e5375f782f42a75a8574c79f48ce Mon Sep 17 00:00:00 2001 From: Phillip Johnsen Date: Sun, 25 Apr 2021 21:52:23 +0200 Subject: [PATCH] Always read labelling config from the `master` branch Instead of reading the labelling config from the target branch/SHA, which for the nodejs/node project might be a staging branch. Always having to cherry-pick labelling config changes merged to the master branch, into different staging branches is very inconvenient and will be forgotten from time to time. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 77829a2..1e76803 100644 --- a/index.js +++ b/index.js @@ -44,7 +44,7 @@ async function fetchConfig ( owner, repo, path: filepath, - ref: github.context.sha + ref: 'master' }) return Buffer.from(response.data.content, response.data.encoding).toString()