delete-package-versions icon indicating copy to clipboard operation
delete-package-versions copied to clipboard

ignore-versions doesn't work

Open lukjaki opened this issue 1 year ago • 3 comments

I'm trying to set this action to remove certain packages but I want to keep all semver-correct versions. For instance 1.8.0-develop-312 should be deleted but 1.8.0 should persist.

My action setup is as follows:

package-name: xxx-xxx-xxx
package-type: npm
ignore-versions: '^(0|[1-9]\d*)\.\d+\.\d+(-.+)?$'
min-versions-to-keep: 10

but it keeps deleting all packages.

What am I doing wrong?

lukjaki avatar Dec 07 '23 13:12 lukjaki