github / github/app

Automations don't work with Jujutsu VCS changes

未关闭
#1,367 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### 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_

贡献指南

打开贡献指南

调研方向

按照列出的步骤重现该问题:在 Git 仓库中初始化 Jujutsu,创建一个 JJ change,并触发自动化。从 detached-HEAD 错误路径开始,验证自动化启动如何处理由 JJ 管理的仓库。完成的标准是自动化成功运行,而不是报告 workflow 无法从 detached HEAD 启动。

由索引模型根据 Issue 内容生成。

评估

技术栈
git
领域
developer-experience
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。