Skip to content

Use getBooleanInput to get ignore_sha and all_but_latest #91

@Warashi

Description

@Warashi

const ignore_sha = core.getInput('ignore_sha', { required: false }) === 'true';
const all_but_latest = core.getInput('all_but_latest', { required: false });

ignore_sha and all_but_latest option is got with getInput method, but there is getBooleanInput.
ref: https://github.com/actions/toolkit/tree/main/packages/core#inputsoutputs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions