From 188560d6fd64e73d923e65c0c90d8313aaa54b5b Mon Sep 17 00:00:00 2001 From: Jared Murrell Date: Thu, 13 Aug 2020 21:59:02 -0400 Subject: [PATCH] removed 'master' branch references --- lib/RallyValidate.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/RallyValidate.js b/lib/RallyValidate.js index 78845f8..d3bae53 100644 --- a/lib/RallyValidate.js +++ b/lib/RallyValidate.js @@ -91,8 +91,7 @@ class RallyValidate { let orgConfigResponse = await context.github.repos.getContents({ owner: context.payload.pull_request.base.repo.owner.login, repo: orgConfigRepoName, - path: '.github/rally/' + context.payload.pull_request.base.repo.name + '.yml', - ref: 'master' + path: '.github/rally/' + context.payload.pull_request.base.repo.name + '.yml' }) .catch(() => ({ // Failed to find or open any default config file noFile @@ -104,8 +103,7 @@ class RallyValidate { orgConfigResponse = await context.github.repos.getContents({ owner: context.payload.pull_request.base.repo.owner.login, repo: orgConfigRepoName, - path: '.github/' + configFile, - ref: 'master' + path: '.github/' + configFile }) .catch(() => ({ // Failed to find or open any default config file noFile