Skip to content

Automations don't work with Jujutsu VCS changes #1367

Description

@mattvmsft

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions