Unlock latest artifacts on stale branches
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Release notes
Problem to solve
#241026 (closed) provides a project-level configuration to disable keeping the latest artifact; as a result any subsequent pipeline that runs will not automatically keep the artifact and also unlock the artifacts from a previously pipeline. The problem is stale branches have locked artifacts which will remain locked because stale branches (by definition) will not have any new pipelines running.
Proposal
Add feature to unlock latest artifacts on stale branches so the artifacts can expire and be deleted based on the expire_in
value. This will enable clearing out old artifacts for projects updated to NOT keep the latest artifacts.
Edited by 🤖 GitLab Bot 🤖