mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1718] Better reporting when the action.yml does not exist #846
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#846
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 @dekimsey on GitHub (Apr 7, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1718
Act version
0.2.43
Feature description
If the user's test workflow tries to use the repository root as an action, it can fail with an opaque error message, 'file not found'. The root cause is a user error and not an application one, it'd just be nice to make that more clear to the user if possible.
Given a workflow like such:
The following output is emitted
The same action when uploaded to GitHub returns a more actionable error message:
This is a user error, as the local action must first be checked out to do the test.
@keithmgould commented on GitHub (Apr 13, 2023):
I'm receiving this error, prob for the reason mentioned above, but I don't know what the fix is. I also have the
action.ymlin the root of the repo, and the lineuses: ./, but my understanding is that is the correct path. I get that it is user error but I can't tell what my error is?@dekimsey commented on GitHub (Apr 13, 2023):
D'oh, sorry about that @keithmgould. Add a local checkout like this:
@keithmgould commented on GitHub (Apr 13, 2023):
That solved!! Thank you!