Skip to content

Action checked out commit (detached HEAD) instead of tag for release trigger #2280

@danepowell

Description

@danepowell

The following workflow run was triggered by a release of tag 2.49.0: https://github.com/acquia/cli/actions/runs/17976201460/job/51130266586

In the actions/checkout@v5 step, instead of checking out the tag as expected, it checked out the commit associated with the tag as a detached HEAD. This caused subsequent steps depending on that release tag to fail.

Image

The previous workflow ran fine and checked out the tag as expected. We changed nothing about the workflow in the interim, and the action versions all appear to be identical: https://github.com/acquia/cli/actions/runs/17642200056/job/50131640559

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions