Skip to content

[BUG] Sparse checkout in resolve-image job excludes the local resolve-image action #380

Closed

Description

@c-vigo

Description

The resolve-image job in workspace workflow templates uses a sparse checkout that only fetches .vig-os, but the same job references the local composite action ./.github/actions/resolve-image. Since the sparse checkout excludes .github/actions/resolve-image/action.yml, GitHub Actions cannot find the action definition, causing the job to fail.

This blocks all downstream smoke-test deployment PRs because the non-container ci.yml workflow cannot resolve the devcontainer image tag.

Steps to Reproduce

  1. Publish an RC via just publish-candidate 0.3.1
  2. Observe the smoke-test dispatch creates PR vig-os/devcontainer-smoke-test#40
  3. The Resolve image tag check fails with: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '.github/actions/resolve-image'

Expected Behavior

The resolve-image job should successfully resolve the container image tag and downstream CI checks should pass.

Actual Behavior

The Resolve image tag job fails because the sparse checkout does not include .github/actions/resolve-image/action.yml. This cascades: Lint & Format and Tests are skipped, CI Summary fails, and the PR is blocked.

Environment

Additional Context

All 5 workspace workflow templates that have a resolve-image job are affected:

  • assets/workspace/.github/workflows/ci.yml
  • assets/workspace/.github/workflows/release-core.yml
  • assets/workspace/.github/workflows/release-publish.yml
  • assets/workspace/.github/workflows/sync-issues.yml
  • assets/workspace/.github/workflows/sync-main-to-dev.yml

Related auto-created issue: #379 (rollback notification)

Possible Solution

Add .github/actions/resolve-image to the sparse-checkout pattern in the resolve-image job of all 5 affected workflows:

      - name: Checkout repository
        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd  # v6.0.2
        with:
          sparse-checkout: |
            .vig-os
            .github/actions/resolve-image
          sparse-checkout-cone-mode: false

Changelog Category

Fixed


  • TDD compliance (see .cursor/rules/tdd.mdc)

Activity

  1. added
    bug
    area:ci
    area:workspace
    effort:small
    semver:patch
    on Mar 19, 2026
  2. self-assigned this
    on Mar 19, 2026
  3. added a commit that references this issue on Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:ciarea:workspacebugeffort:smallsemver:patch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions