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

Feature request - with include-versions regexp #99

Open
ruidscampos opened this issue Mar 29, 2023 · 2 comments
Open

Feature request - with include-versions regexp #99

ruidscampos opened this issue Mar 29, 2023 · 2 comments

Comments

@ruidscampos
Copy link

Feature request, to have an additional input parameter include-versions with a regexp.

Have a regexp for versions that are to be included for deletion.
Similar to the ignore-versions but for inclusion instead.

In some cases one wants to delete based on a specific version regexp, and creating the ignore regexp is more complex.

@hanseartic
Copy link

➕ 💯

@GMZwinge
Copy link

GMZwinge commented Nov 1, 2023

Example use case: delete package versions for a prerelease branch, like 1.2.3-<prereleaseId>.4, that has been merged and deleted. A workflow can handle automatically those deletions on a branch delete event.

Also, it doesn't look like there is a way to create a negative regex that matches the whole line. A negative regex matches anywhere within the line.

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

3 participants