mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1875] Calling reusable workflow which uses a subworkflow at a relative path in the same repository fails with file not found. #909
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#909
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wildsheepz on GitHub (Jun 21, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1875
Bug report info
Command used with act
Describe issue
What I'm trying to do in the reusable workflow is call-workflow-2-in-local-repo. It seems that nektos wrongly tries to find the reusable workflow's subworkflow yaml at the wrong path, resulting in a
Error: stat /home/user/src/TestCallingReusableWorkflow/.github/workflows/do-more-stuff.yaml: no such file or directoryI created 2 repositories with simple workflows to replicate this issue, refer to or checkout the following 2 repositories to reproduce the issue:
Link to GitHub repository
https://github.com/wildsheepz/TestCallingReusableWorkflow
Workflow content
Relevant log output
Additional information
Nektos Run:
Github Actions Run:

@daniel-habib commented on GitHub (Oct 1, 2023):
@wildsheepz : the workaround i found was to keep the reusable workflow locally and the point to that e.g.
replace your
with
did you find any thing more elegant than that?
@J-Blaha commented on GitHub (Feb 21, 2024):
Any updates on this? Thanks!
@github-actions[bot] commented on GitHub (Aug 20, 2024):
Issue is stale and will be closed in 14 days unless there is new activity
@MaeIsBad commented on GitHub (Dec 19, 2024):
Stalebots are the worst
@mcascone commented on GitHub (Jun 10, 2025):
Same issue: It's looking for the reusable workflows in the calling repo, instead of in the
local-repository.@ChristopherHX commented on GitHub (Jun 10, 2025):
My existing backlog has hard times to get merged, I am going to reopen this issue. No promise for anything.
BTW the stale bot has been chased away, not that I ever added one any of my own projects.
@lfallon-manifest commented on GitHub (Jul 31, 2025):
I took a shot at resolving this issue in https://github.com/nektos/act/pull/5888. It worked both in the project I was encountering the issue in and in the original posts example.