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

untagged-keep-latest 0 doesn't work #171

Open
mering opened this issue Aug 21, 2023 · 1 comment
Open

untagged-keep-latest 0 doesn't work #171

mering opened this issue Aug 21, 2023 · 1 comment

Comments

@mering
Copy link

mering commented Aug 21, 2023

It's a typing problem:

When passing 0,

untaggedKeepLatest: core.getInput("untagged-keep-latest") || null,
evalutes to false and therefore assigns null.

In this case the job does nothing, prints nothing but still succeeds.

@williamdes
Copy link

I can confirm, had to use 1

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