diff --git a/lib/RallyValidate.js b/lib/RallyValidate.js index 1f1aa46..3d3d19c 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