github / github/app

Automations don't work with Jujutsu VCS changes

Đang mở
#1,367 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Bugs
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.1k
Fork
153
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Short summary

Automations fail to run because my repo uses JJ for version control which puts the underlying Git repo in a Detached HEAD state

### Affected version or release

v1.0.6

### Installation context

_No response_

### What happened?

When automations get triggered, the following error message is surfaced:
`Branch workflow cannot start from a detached HEAD. Check out the branch you want this workflow to run on, then run it again.`

### Steps to reproduce

1. Initialize JJ in a Git repo
2. Create a new JJ change
3. Create an automation on that repo

### Expected behavior

The automation is able to run successfully

### Additional context

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Reproduce the issue using the listed steps: initialize Jujutsu in a Git repository, create a JJ change, and trigger an automation. Start from the detached-HEAD error path and verify how automation startup handles JJ-managed repositories. Done means the automation runs successfully instead of reporting that the workflow cannot start from a detached HEAD.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
git
Lĩnh vực
developer-experience
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.