Skip to content

Maintenance: fix versioning workflow failing on git detached head  #2092

Closed
@dreamorosi

Description

@dreamorosi

Summary

The "Make Version" workflow is failing when committing files due to the following error:

ERR! ENOGIT Detached git HEAD, please checkout a branch to choose versions.

See example workflow run.

I think this was added sometime around the same time as when we added the ref field to the checkout step, however I'm not 100% sure.

I was able to reproduce this consistently in a fork.

Why is this needed?

So that we can make a release.

Which area does this relate to?

Automation

Solution

No response

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions