[PR #648] [MERGED] Recursively scan for workflows #1534

Closed
opened 2026-03-01 21:51:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/648
Author: @catthehacker
Created: 5/1/2021
Status: Merged
Merged: 5/3/2021
Merged by: @cplee

Base: masterHead: recurse-workflows


📝 Commits (2)

  • bc339c2 refactor: NewWorkflowPlanner
  • 48b1134 Merge branch 'master' into recurse-workflows

📊 Changes

11 files changed (+116 additions, -30 deletions)

View changed files

📝 cmd/input.go (+1 -0)
📝 cmd/root.go (+2 -2)
📝 pkg/model/planner.go (+61 -14)
📝 pkg/model/planner_test.go (+14 -9)
📝 pkg/model/testdata/invalid-job-name/invalid-1.yml (+1 -1)
pkg/model/testdata/invalid-job-name/invalid-2.yml (+8 -0)
pkg/model/testdata/invalid-job-name/valid-1.yml (+8 -0)
pkg/model/testdata/invalid-job-name/valid-2.yml (+8 -0)
pkg/model/testdata/nested/success.yml (+9 -0)
pkg/model/testdata/nested/workflows/fail.yml (+0 -0)
📝 pkg/runner/runner_test.go (+4 -4)

📄 Description

fixes #646

refactor: NewWorkflowPlanner
feat: add flag --no-recurse to disable recursion when reading workflows from directories
feat: added more tests to TestPlanner, renamed TestJobFileInfo to more appropriate name WorkflowPlanTest
style: changed error message to lowercase, added single quotes for better visibility


🔄 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/648 **Author:** [@catthehacker](https://github.com/catthehacker) **Created:** 5/1/2021 **Status:** ✅ Merged **Merged:** 5/3/2021 **Merged by:** [@cplee](https://github.com/cplee) **Base:** `master` ← **Head:** `recurse-workflows` --- ### 📝 Commits (2) - [`bc339c2`](https://github.com/nektos/act/commit/bc339c2842526faf89f9c38b6b00578d701f5499) refactor: `NewWorkflowPlanner` - [`48b1134`](https://github.com/nektos/act/commit/48b1134025fca20e87a93c69ee767532e7760d35) Merge branch 'master' into recurse-workflows ### 📊 Changes **11 files changed** (+116 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `cmd/input.go` (+1 -0) 📝 `cmd/root.go` (+2 -2) 📝 `pkg/model/planner.go` (+61 -14) 📝 `pkg/model/planner_test.go` (+14 -9) 📝 `pkg/model/testdata/invalid-job-name/invalid-1.yml` (+1 -1) ➕ `pkg/model/testdata/invalid-job-name/invalid-2.yml` (+8 -0) ➕ `pkg/model/testdata/invalid-job-name/valid-1.yml` (+8 -0) ➕ `pkg/model/testdata/invalid-job-name/valid-2.yml` (+8 -0) ➕ `pkg/model/testdata/nested/success.yml` (+9 -0) ➕ `pkg/model/testdata/nested/workflows/fail.yml` (+0 -0) 📝 `pkg/runner/runner_test.go` (+4 -4) </details> ### 📄 Description fixes #646 refactor: `NewWorkflowPlanner` feat: add flag `--no-recurse` to disable recursion when reading workflows from directories feat: added more tests to `TestPlanner`, renamed `TestJobFileInfo` to more appropriate name `WorkflowPlanTest` style: changed error message to lowercase, added single quotes for better visibility --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:51:35 +03:00
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#1534
No description provided.