actions-toolkit
actions-toolkit copied to clipboard
fix(git): support getting ref in various detached HEAD contexts
Support more detached ref formats in Git context.
Fixes: https://github.com/docker/metadata-action/issues/552?notification_referrer_id=NT_kwDOAATK6LIyMDE1MzYwNTc5NDozMTQwODg#issuecomment-3488454863
E2E Tests: https://github.com/hoverkraft-tech/test-docker-metadata-action/actions/runs/19305325619
Thanks I will review this ASAP. For ci issues on macos-15 they are not related, see https://github.com/docker/actions-toolkit/issues/852