mirror of
https://github.com/actions/labeler.git
synced 2025-12-13 21:17:02 +00:00
fix: correct reading of sync-labels input
This commit is contained in:
@@ -31,7 +31,7 @@ export async function run() {
|
||||
try {
|
||||
const token = core.getInput('repo-token');
|
||||
const configPath = core.getInput('configuration-path', {required: true});
|
||||
const syncLabels = !!core.getInput('sync-labels', {required: false});
|
||||
const syncLabels = core.getBooleanInput('sync-labels');
|
||||
|
||||
const prNumber = getPrNumber();
|
||||
if (!prNumber) {
|
||||
|
||||
Reference in New Issue
Block a user