mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #1970] [MERGED] fix: fail if no stages were found #2215
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#2215
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?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/1970
Author: @ctrlaltf24
Created: 8/15/2023
Status: ✅ Merged
Merged: 8/21/2023
Merged by: @mergify[bot]
Base:
master← Head:user-facing-debug-error-when-silly📝 Commits (4)
226adf1fix: fail if no stages were founde98f437Revert "fix: fail if no stages were found"2b62fbafix: fail if no stages were founde6a2177Merge branch 'master' into user-facing-debug-error-when-silly📊 Changes
2 files changed (+24 additions, -4 deletions)
View changed files
📝
pkg/model/planner.go(+2 -4)📝
pkg/model/planner_test.go(+22 -0)📄 Description
Adds a warning message if act is cannot find any stages to run with the filters provided.
Reproduction:
act -j gibberishDesired behavior: some indication I did something silly
Actual behavior: no output, just exit with success.
As a human who often makes spelling mistakes,
it would be nice if act warned me what I was doing that was silly rather than exiting apparently doing
nothing with no obvious indication
I did something wrong.
Alternative solutions:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.