use HEAD ref in [github] fetchJsonFromRepo (#5589)

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
chris48s
2020-09-22 19:15:27 +01:00
committed by GitHub
parent aa171180e5
commit 484c652719

View File

@@ -55,7 +55,7 @@ async function fetchRepoContent(
async function fetchJsonFromRepo(
serviceInstance,
{ schema, user, repo, branch = 'master', filename }
{ schema, user, repo, branch = 'HEAD', filename }
) {
if (serviceInstance.staticAuthConfigured) {
const buffer = await fetchRepoContent(serviceInstance, {