General refactoring

This commit is contained in:
Nikolai Laevskii
2023-08-02 06:13:14 +02:00
parent 68124ad53a
commit 3b7f505149
14 changed files with 292 additions and 225 deletions

View File

@@ -0,0 +1,10 @@
import * as core from '@actions/core';
import {getPrNumbers} from './get-pr-numbers';
export const getInputs = () => ({
token: core.getInput('repo-token'),
configPath: core.getInput('configuration-path', {required: true}),
syncLabels: !!core.getInput('sync-labels'),
dot: core.getBooleanInput('dot'),
prNumbers: getPrNumbers()
});