fix(git): support getting ref in various detached HEAD contexts by neilime · Pull Request #856 · docker/actions-toolkit (original) (raw)
Navigation Menu
Appearance settings
- AI CODE CREATION
* GitHub CopilotWrite better code with AI
* GitHub Copilot appDirect agents from issue to merge
* MCP RegistryNewIntegrate external tools - DEVELOPER WORKFLOWS
* ActionsAutomate any workflow
* CodespacesInstant dev environments
* IssuesPlan and track work
* Code ReviewManage code changes - APPLICATION SECURITY
* GitHub Advanced SecurityFind and fix vulnerabilities
* Code securitySecure your code as you build
* Secret protectionStop leaks before they start - EXPLORE
* Why GitHub
* Documentation
* Blog
* Changelog
* Marketplace
- AI CODE CREATION
- BY COMPANY SIZE
* Enterprises
* Small and medium teams
* Startups
* Nonprofits - BY USE CASE
* App Modernization
* DevSecOps
* DevOps
* CI/CD
* View all use cases - BY INDUSTRY
* Healthcare
* Financial services
* Manufacturing
* Government
* View all industries
- BY COMPANY SIZE
- EXPLORE BY TOPIC
* AI
* Software Development
* DevOps
* Security
* View all topics - EXPLORE BY TYPE
* Customer stories
* Events & webinars
* Ebooks & reports
* Business insights
* GitHub Skills - SUPPORT & SERVICES
* Documentation
* Customer support
* Community forum
* Trust center
* Partners
- EXPLORE BY TOPIC
- COMMUNITY
* GitHub SponsorsFund open source developers - PROGRAMS
* Security Lab
* Maintainer Community
* Accelerator
* GitHub Stars
* Archive Program - REPOSITORIES
* Topics
* Trending
* Collections
- COMMUNITY
- Pricing
Provide feedback
We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
docker / actions-toolkit Public
Notifications You must be signed in to change notification settings
Additional navigation options
Merged
merged 1 commit into
docker:mainfrom
neilime:fix/git-ref-in-detached-head
Nov 27, 2025
ConversationCommits (1)ChecksFiles changed
Merged
fix(git): support getting ref in various detached HEAD contexts#856
merged 1 commit into
docker:mainfrom
neilime:fix/git-ref-in-detached-head
Conversation
neilime commented
•
edited by crazy-max
Loading
Copy link Copy Markdown
Contributor
Support more detached ref formats in Git context.
fixes docker/metadata-action#552
E2E Tests: https://github.com/hoverkraft-tech/test-docker-metadata-action/actions/runs/19305325619
github-actions Bot assigned neilime
`[fix(git): support getting ref in various detached HEAD contexts](/docker/actions-toolkit/pull/856/commits/ad7ffdebbe360f9fb771ecd37fb2bcab39e432b3 "fix(git): support getting ref in various detached HEAD contexts
Signed-off-by: Emilien Escalle emilien.escalle@escemi.com") `
[ad7ffde](/docker/actions-toolkit/pull/856/commits/ad7ffdebbe360f9fb771ecd37fb2bcab39e432b3)
Signed-off-by: Emilien Escalle emilien.escalle@escemi.com
crazy-max commented
•
edited
Loading
Copy link Copy Markdown
Member
Thanks I will review this ASAP. For ci issues on macos-15 they are not related, see #852
neilime reacted with thumbs up emoji
crazy-max approved these changes Nov 27, 2025
crazy-max left a comment
Copy link Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks!
neilime reacted with hooray emoji
crazy-max merged commit 8d01bf1 into docker:main
97 of 105 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Sign up for free to join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
crazy-max crazy-max approved these changes
Assignees
Labels
None yet
Projects
None yet
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Action fails: Cannot find detached HEAD ref in "HEAD"