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

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

Open
gr2m opened this issue Mar 20, 2025 · 0 comments · May be fixed by #223
Open

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

gr2m opened this issue Mar 20, 2025 · 0 comments · May be fixed by #223

Comments

@gr2m
Copy link
Contributor

gr2m commented Mar 20, 2025

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")
);

@parkerbxyz parkerbxyz assigned gr2m and unassigned gr2m Mar 20, 2025
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

Successfully merging a pull request may close this issue.

1 participant