github / github/app

Automations don't work with Jujutsu VCS changes

Ouverte
#1,367 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Bugs
Langage dominant
Aucune donnée de langage
Étoiles
2.1k
Forks
153
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
git
Domaine
developer-experience
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
55/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.