diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..2536764 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @hex0cter diff --git a/dist/index.js b/dist/index.js index d459c93..2f0c418 100644 --- a/dist/index.js +++ b/dist/index.js @@ -13490,7 +13490,7 @@ async function fetch_config() { owner: context.repo.owner, repo: context.repo.repo, path: config_path, - ref: context.payload.pull_request.base.ref, // base branch name the branch is going into + ref: context.ref, }); const content = Buffer.from(response_body.content, response_body.encoding).toString(); diff --git a/src/github.js b/src/github.js index 3b17195..b2de694 100644 --- a/src/github.js +++ b/src/github.js @@ -40,7 +40,7 @@ async function fetch_config() { owner: context.repo.owner, repo: context.repo.repo, path: config_path, - ref: context.payload.pull_request.base.ref, // base branch name the branch is going into + ref: context.ref, }); const content = Buffer.from(response_body.content, response_body.encoding).toString();