Skip to content

actions/check is broken for external consumers (uses ./actions/... paths) #65

Closed

Description

@ilanh

The check composite action calls its sibling actions with uses: ./actions/.... Inside a composite action, relative uses: resolves against the caller's workspace, not the action repo, so any repo consuming ilanh/openshell-annotate/actions/check@<ref> fails to find them.

Workaround: consumers call setup, drift and lint individually (as in ilanh/openspell-python-tester#1).

Proposed fix: inline the steps in check (calling $GITHUB_ACTION_PATH/../lib/*.sh directly), and add a consumer-style self-test job that checks the repo out into a subdirectory and uses the action via its remote ref, so this regression is caught.

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