Repository navigation
GitHub Actions lockfile regeneration fails with “Ref changed” after action version updates #47292
How are you running Renovate?Self-hosted Renovate CLI Which platform you running Renovate on?GitHub.com Which version of Renovate are you using?44.176.2 Please tell us more about your question or problemRenovate updates action versions in our workflows, but regeneration of .github/workflows/actions.lock fails because gh actions-lock reports that the workflow references no longer match the existing lockfile. For example, a grouped minor-update PR changes:
The lockfile generator then reports “Ref changed” for the new references and “Unused lockfile entry” for the old references. It writes nothing, leaving the updated workflows and lockfile inconsistent. Expected behaviorRenovate updates the action versions and regenerates the corresponding lockfile entries in the same PR. Actual behaviorRenovate creates the PR with updated workflow references but an unchanged Actions lockfile, and adds an “Artifact update problem” comment. Possible cause
The Could this integration need to account for the sticky-lock behavior when workflow versions change? Adding only Logs (if relevant)Logs |
Thanks for reporting! #47294