chore(deps): update snok/container-retention-policy action to v3 #47
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.0.0->v3.0.1Release Notes
snok/container-retention-policy (snok/container-retention-policy)
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 doesv2.2.1Compare Source
What's Changed
New Contributors
Full Changelog: snok/container-retention-policy@v2...v2.2.1
v2.2.0Compare Source
What's Changed
This new version of the action introduces a
token-typeinput variable, which enables the use ofGITHUB_TOKENinstead of a personal access token - by @Injabie3 in #70New Contributors
Full Changelog: snok/container-retention-policy@v2...v2.2.0
v2.1.3Compare Source
What's Changed
keep_at_leastparameter predictable by @yma-het in #68New Contributors
Full Changelog: snok/container-retention-policy@v2...v2.1.3
v2.1.2Compare Source
What's Changed
New Contributors
Full Changelog: snok/container-retention-policy@v2...v2.1.2
v2.1.1Compare Source
What's Changed
New Contributors
Full Changelog: snok/container-retention-policy@v2...v2.1.1
v2.1.0Compare Source
What's new
New Contributors
Full Changelog: snok/container-retention-policy@v2...v2.1.0
v2.0.1Compare Source
What's Changed
New Contributors
Full Changelog: snok/container-retention-policy@v2...v2.0.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.