[PR #1876] fix: fail to find local subworkflow of remote workflow #2169

Open
opened 2026-03-01 21:54:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1876
Author: @wildsheepz
Created: 6/22/2023
Status: 🔄 Open

Base: masterHead: fix/failure_to_run_local_subworkflow_of_remote_workflow


📝 Commits (5)

  • 12545a6 fix: fail to find local subworkflow of remote workflow
  • 2d9adeb Merge branch 'master' into fix/failure_to_run_local_subworkflow_of_remote_workflow
  • 20a6194 Merge branch 'master' into fix/failure_to_run_local_subworkflow_of_remote_workflow
  • 81b5a63 Merge branch 'master' into fix/failure_to_run_local_subworkflow_of_remote_workflow
  • 27e3f82 Merge branch 'master' into fix/failure_to_run_local_subworkflow_of_remote_workflow

📊 Changes

9 files changed (+37 additions, -17 deletions)

View changed files

📝 cmd/root.go (+1 -1)
📝 pkg/artifacts/server_test.go (+1 -1)
📝 pkg/model/planner.go (+8 -2)
📝 pkg/model/planner_test.go (+1 -2)
📝 pkg/model/workflow.go (+1 -0)
📝 pkg/model/workflow_test.go (+1 -1)
📝 pkg/runner/reusable_workflow.go (+9 -3)
📝 pkg/runner/runner_test.go (+8 -7)
pkg/runner/testdata/issue-1875-uses-workflow-with-sub-workflow/caller-workflow.yml (+7 -0)

📄 Description

Proposing a fix for #1875 . I included a new unit test to verify the issue.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/1876 **Author:** [@wildsheepz](https://github.com/wildsheepz) **Created:** 6/22/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix/failure_to_run_local_subworkflow_of_remote_workflow` --- ### 📝 Commits (5) - [`12545a6`](https://github.com/nektos/act/commit/12545a66fc91cb779be4152f36260666075f1427) fix: fail to find local subworkflow of remote workflow - [`2d9adeb`](https://github.com/nektos/act/commit/2d9adebc48e694b4f6c0f6c2cd9b1ea99789474e) Merge branch 'master' into fix/failure_to_run_local_subworkflow_of_remote_workflow - [`20a6194`](https://github.com/nektos/act/commit/20a6194763d23dba4aacebca499d039387aa56de) Merge branch 'master' into fix/failure_to_run_local_subworkflow_of_remote_workflow - [`81b5a63`](https://github.com/nektos/act/commit/81b5a633740d196356427b90573b562551e01c4d) Merge branch 'master' into fix/failure_to_run_local_subworkflow_of_remote_workflow - [`27e3f82`](https://github.com/nektos/act/commit/27e3f82073506b2a7068a4c51b09b10ff5a0d72d) Merge branch 'master' into fix/failure_to_run_local_subworkflow_of_remote_workflow ### 📊 Changes **9 files changed** (+37 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `cmd/root.go` (+1 -1) 📝 `pkg/artifacts/server_test.go` (+1 -1) 📝 `pkg/model/planner.go` (+8 -2) 📝 `pkg/model/planner_test.go` (+1 -2) 📝 `pkg/model/workflow.go` (+1 -0) 📝 `pkg/model/workflow_test.go` (+1 -1) 📝 `pkg/runner/reusable_workflow.go` (+9 -3) 📝 `pkg/runner/runner_test.go` (+8 -7) ➕ `pkg/runner/testdata/issue-1875-uses-workflow-with-sub-workflow/caller-workflow.yml` (+7 -0) </details> ### 📄 Description Proposing a fix for #1875 . I included a new unit test to verify the issue. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#2169
No description provided.