Skip to content

fix(ci): push detached HEAD to history ref and drop worktree cleanup#77

Merged
stasadev merged 1 commit into
mainfrom
20260518_stasadev_fix
May 19, 2026
Merged

fix(ci): push detached HEAD to history ref and drop worktree cleanup#77
stasadev merged 1 commit into
mainfrom
20260518_stasadev_fix

Conversation

@stasadev
Copy link
Copy Markdown
Member

The Issue

https://github.com/ddev/addon-registry/actions/runs/26116848062/job/76808231099

Preparing worktree (detached HEAD ba7fdb2)
HEAD is now at ba7fdb2 chore(add-ons): snapshot 2026-05-19
[detached HEAD 87932d2] chore(add-ons): snapshot 2026-05-19
 Date: Tue May 19 00:55:31 2026 +0000
 21 files changed, 297 insertions(+), 144 deletions(-)
 create mode 100644 _addons/e0ipso/ddev-assistant-opencode.md
error: src refspec history does not match any
error: failed to push some refs to 'https://github.com/ddev/addon-registry'

How This PR Solves The Issue

  • Push via HEAD:history so the push works from a detached HEAD worktree
  • Remove the git worktree remove call: the runner discards /tmp anyway

Manual Testing Instructions

Automated Testing Overview

Release/Deployment Notes

- Push via HEAD:history so the push works from a detached HEAD worktree
- Remove the git worktree remove call: the runner discards /tmp anyway

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@stasadev stasadev merged commit 1823962 into main May 19, 2026
2 of 3 checks passed
@stasadev stasadev deleted the 20260518_stasadev_fix branch May 19, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant