Skip to content

Fix composite-action reference path in VersionCheck#60

Merged
mtfishman merged 1 commit into
mainfrom
mf/fix-classify-path
Apr 20, 2026
Merged

Fix composite-action reference path in VersionCheck#60
mtfishman merged 1 commit into
mainfrom
mf/fix-classify-path

Conversation

@mtfishman
Copy link
Copy Markdown
Member

Summary

Change the composite-action reference in `VersionCheck.yml` from the local relative form `./.github/actions/classify-pr` to the full form `ITensor/ITensorActions/.github/actions/classify-pr@main`.

Why

In a reusable workflow, `uses: ./.github/actions/...` resolves the relative path against the caller's checked-out workspace, not the reusable workflow's repository. That means every caller of `VersionCheck.yml@main` fails with:

```
Can't find 'action.yml' ... under '/home/runner/work//.github/actions/classify-pr'
```

Observed on ITensor/SparseArraysBase.jl#169. The full `owner/repo/path@ref` form resolves against ITensorActions itself regardless of the caller.

Test plan

🤖 Generated with Claude Code

When a reusable workflow uses `uses: ./.github/actions/...`, GitHub resolves
the relative path against the caller's checked-out workspace, not the
reusable workflow's repository. That made VersionCheck fail on every
caller with:

  Can't find 'action.yml' ... under '/home/runner/work/<caller>/.github/actions/classify-pr'

Fix by referencing the composite action with its full form
`ITensor/ITensorActions/.github/actions/classify-pr@main`, which GitHub
resolves against ITensorActions itself regardless of the caller repo.

Observed on ITensor/SparseArraysBase.jl#169.
@mtfishman mtfishman merged commit 496065e into main Apr 20, 2026
1 check passed
@mtfishman mtfishman deleted the mf/fix-classify-path branch April 20, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant