Skip to content

use core.getBooleanInput() to retrieve boolean input values #216

@gr2m

Description

@gr2m

Right now we core.getInput() and parse it with Boolean(). I learned that @actions/core now has a dedicated method for it.

const skipTokenRevoke = Boolean(
core.getInput("skip-token-revoke") || core.getInput("skip_token_revoke")
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions