diff --git a/dist/index.js b/dist/index.js index 85ef7ff..20e8319 100644 --- a/dist/index.js +++ b/dist/index.js @@ -112,7 +112,7 @@ class Input { this.repo && this.packageName && this.numOldVersionsToDelete > 0 && - this.minVersionsToKeep > 0 && + this.minVersionsToKeep >= 0 && this.token); } } diff --git a/src/input.ts b/src/input.ts index f8ce796..e4cd128 100644 --- a/src/input.ts +++ b/src/input.ts @@ -60,7 +60,7 @@ export class Input { this.repo && this.packageName && this.numOldVersionsToDelete > 0 && - this.minVersionsToKeep > 0 && + this.minVersionsToKeep >= 0 && this.token ) }