mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #1793] local reusable workflow failure exists and ignores failure() #876
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#876
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 @AmitBenAmi on GitHub (May 8, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1793
Bug report info
Command used with act
Describe issue
I have a matrix workflow that runs a local reusable workflow for each matrix value.
When running with act, it ends up with the error message of:
Error: Job 'Setup-${{ inputs.cluster }}' failed.I have a job in the calling workflow that has the
failure()flag, and it isn't being runLink to GitHub repository
No response
Workflow content
Relevant log output
Additional information
I removed some of the output since I exceeded the 65536 characters for Github comment
@keathmilligan commented on GitHub (Sep 9, 2023):
Here is a really simple example:
workflow:
reusable workflow:
job_bwill always run despite theneeds:statement, but it does wait for job_a to finish. It behaves likeif: ${{ always() }}has been specified.@github-actions[bot] commented on GitHub (Mar 8, 2024):
Issue is stale and will be closed in 14 days unless there is new activity