mirror of
https://github.com/actions/labeler.git
synced 2025-12-14 13:47:02 +00:00
Merge branch 'main' into dot-option
This commit is contained in:
4
dist/index.js
vendored
4
dist/index.js
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user