Skip to content

[BUG] Rollback workflow fails when local setup-env action is used without checkout #369

Closed

Description

@c-vigo

Chore Type

CI / Build change

Description

The Rollback on Failure job in release.yml fails because it invokes the local action ./.github/actions/setup-env without checking out the repository first.

This causes the rollback pipeline to fail with:
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/devcontainer/devcontainer/.github/actions/setup-env'. Did you forget to run actions/checkout before running your local action?

Acceptance Criteria

  • Rollback on Failure performs a repository checkout before calling any local action path (e.g. ./.github/actions/setup-env)
  • Rollback job no longer fails with local action resolution errors
  • A failed release run executes rollback steps successfully (or at minimum reaches rollback logic instead of failing in setup)

Implementation Notes

  • Target workflow: .github/workflows/release.yml
  • In job rollback, add actions/checkout before the Set up environment step
  • Keep behavior minimal and scoped to rollback path

Related Issues

Priority

High

Changelog Category

No changelog needed

Additional Context

This failure appears after build-and-test fails and currently prevents rollback logic from executing as intended.

Activity

  1. added
    chore
    priority:high
    area:ci
    effort:small
    semver:patch
    bug
    and removed
    chore
    on Mar 19, 2026
  2. changed the title [-][CHORE] Fix rollback workflow to checkout repository before local setup-env action[/-] [+][BUG] Rollback workflow fails when local setup-env action is used without checkout[/+] on Mar 19, 2026
  3. self-assigned this
    on Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:cibugeffort:smallpriority:highsemver:patch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions