Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to update label field #9

Closed
terafin opened this issue Jan 25, 2022 · 2 comments
Closed

Not able to update label field #9

terafin opened this issue Jan 25, 2022 · 2 comments

Comments

@terafin
Copy link

terafin commented Jan 25, 2022

I keep getting an error saying it only supports 'boolean' types... looking at the index.js:

exports.argumentContext = {
    keywords: inputParser.getInput('keywords', { type: 'array', default: ['TODO'] }),
    bodyKeywords: inputParser.getInput('bodyKeywords', { type: 'array', default: [] }),
    caseSensitive: inputParser.getInput('label', { type: "boolean", default: true }),
    titleSimilarity: inputParser.getInput("taskSystem", {
        type: "number",
        disableable: true,
        default: 80
    }),
    label: inputParser.getInput('label', { type: "array", disableable: true, default: true }),
    blobLines: inputParser.getInput('blobLines', { type: "number", default: 5, disableable: true }),
    autoAssign: inputParser.getInput('autoAssign', {
        type: "array",
        disableable: true,
        default: true
    }),
    excludePattern: inputParser.getInput('excludePattern', { type: 'string' }),
    taskSystem: inputParser.getInput("taskSystem", { type: "string", default: "GitHub" }),
    importAll: (_c = (_b = (_a = github === null || github === void 0 ? void 0 : github.context) === null || _a === void 0 ? void 0 : _a.payload) === null || _b === void 0 ? void 0 : _b.inputs) === null || _c === void 0 ? void 0 : _c.importAll,
    reopenClosed: inputParser.getInput("reopenClosed", { type: "boolean", default: true })
};

Do I read that correctly that: caseSensitive: inputParser.getInput('label', { type: "boolean", default: true }), is colliding? (typo?)

@DerJuulsn
Copy link
Owner

Definitely typo, thanks...
I've pushed a fix. Does it work now?

@DerJuulsn
Copy link
Owner

So I just had time to test it. It works now!
I'll mark this as resolved :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants