-
Notifications
You must be signed in to change notification settings - Fork 13
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
add tag expire workflow #57
Conversation
Signed-off-by: Frank Kloeker <[email protected]>
Minimum allowed coverage is Generated by 🐒 cobertura-action against ab5a177 |
Signed-off-by: Frank Kloeker <[email protected]>
Signed-off-by: Frank Kloeker <[email protected]>
ab5a177 should work when the following PR is merged: eumel8/expire-action#3 |
@Fovty I tested again and ended up with errors
I think this caused by the un-escaped characters in the runner shell. A working configuration is
but that's also not so reliable |
Yeah, tested it right now in the shell - the error occurs, because the eval command is interpreting the special characters in the regex pattern as part of the shell command. Had to do some escaping, but came finally to a working pattern (tested it locally). Pattern: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatives for the RegEx:
- list of exclusions as argument
- file in repo with exclusions
suggestions are welcome
Closing, since we do not plan to implement this yet. |
Motivation
as discussed this week, more and more tags are stored in the package repository. At this time there is no auto-mechanism to expire older tags, so I developed this action to maintain the package repo and delete older tags then 60 days.
Changes
Tests done
manually tested on user/org package repo, works until the last tag is only present
TODO