Merge branch 'main' into dot-option

This commit is contained in:
Alexander Kachkaev
2023-03-12 22:13:26 +00:00
committed by GitHub
19 changed files with 2284 additions and 75 deletions

4
dist/index.js vendored
View File

@@ -47,13 +47,13 @@ const minimatch_1 = __nccwpck_require__(3973);
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
const token = core.getInput('repo-token', { required: true });
const token = core.getInput('repo-token');
const configPath = core.getInput('configuration-path', { required: true });
const syncLabels = !!core.getInput('sync-labels', { required: false });
const dot = !!core.getInput('dot', { required: false });
const prNumber = getPrNumber();
if (!prNumber) {
console.log('Could not get pull request number from context, exiting');
core.info('Could not get pull request number from context, exiting');
return;
}
const client = github.getOctokit(token);