Add artifacts expire_in

MSAL

Set artifacts:expire_in in .gitlab-ci.yml to prevent storage bloat from indefinitely stored artifacts.

org.openrewrite.gitlab.AddArtifactsExpireIn

Required

Duration after which artifacts expire.

Optional

The job to apply this to. If not provided, applies to the default section.

acceptTheirsBoolean

When the setting already exists, prefer the original value.

mod run . --recipe=org.openrewrite.gitlab.AddArtifactsExpireIn \ -P expireIn='1 week'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.