chore(deps): update snok/container-retention-policy action to v3#515
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update snok/container-retention-policy action to v3#515renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
6674f75 to
f7edd97
Compare
f7edd97 to
1528678
Compare
1528678 to
5e41f2e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2→v3.1.0Release Notes
snok/container-retention-policy (snok/container-retention-policy)
v3.1.0Compare Source
Features
Fixes
Misc
Full Changelog: snok/container-retention-policy@v3.0.1...v3.1.0
v3.0.1Compare Source
What's Changed
GITHUB_*URL variables by @rkarp in #88New Contributors
Full Changelog: snok/container-retention-policy@v3.0.0...v3.0.1
v3.0.0Compare Source
v3.0.0
This release is a complete rewrite of the action, tackling most if not all open issues in the issue tracker. Some of the highlights include:
secrets.GITHUB_TOKENand Github app tokens)💥 There are a lot of breaking changes, so we've included a migration guide at the bottom of this post, to make things a bit simpler.
Since the release introduces a few thousand lines of code, we expect there may be a few things left to iron out. If you run into any problems, please share them in the v3 release issue.
In addition to what's mentioned above, other new features and changes include:
BSD-3toMIT.image-namesandimage-tagspreviously allowed wildcards (using the*character). We now also allow the?character to express a single-character wildcard. For example, the patternca?will matchcarandcat. See the wildmatch docs for details.In addition to changing the inputs of the action (more details below), there are a few other breaking changes:
v3target for the action, justv3.0.0and other exact versions. Mutable major version tags are generally hard to maintain and not much safer than tracking the main branch, so more precise tag tracking should reduce the likelihood of broken runs going forward. Paired with dependabot, upgrading should not be much harder than it has been.needs-assistanceoutput was deletedAnd in terms of performance improvements:
Migration guide
The
account-typeandorg-nameinputs have been replaced withaccount, which should be set to the literal string "user" if you previously usedaccount-type: personaland to the organization name otherwise:or
The
filter-tagskey has been renamed toimage-tagsThe
token-typeinput has been removed. If you previously usedtoken-type: github-token, then you can now instead pass the secret value totokenand have the type of token be auto-detected:In other words, we've consolidated
token-typeandtokeninto a single arg.The
skip-tagsinput has been removed. If you previously usedskip-tags: latest, you should now specify a negative glob pattern inimage-tags.In other words, we've consolidated the two arguments, by adding support for the
!operator, which means "not".The
filter-include-untaggedanduntagged-onlyinputs were removed.filter-include-untaggedpreviously enabled you to opt-out of deleting untagged images, whileuntagged-onlywould allow you to opt-out of deleting tagged images. This was a bit confusing, even for me.To make things simpler, these have been collapsed into one argument, called
tag-selectionwhich accepts the string valuestagged,untagged, orboth.or
The
cut-offinput no longer accepts human-readable datetimes. Instead, it accepts the inputs listed here. For example:or
There is no longer timezone support built-into this option. All durations are relative to the current time, UTC.
The
keep-at-leastargument was renamedkeep-n-most-recentto make clearer what it doesConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.