Reusable workflow still runs even if condition fails #343
Labels
No Label
kind
bug
kind
build
kind/compatible
kind
dependencies
kind
docs
kind
enhancement
kind
feature
kind
help wanted
kind
proposal
kind
refactor
related
act
related
environment
related
exec
related
gitea
related
workflow
reviewed
confirmed
reviewed
duplicate
reviewed
invalid
reviewed
needs feedback
reviewed
wontfix
reviewed
workaround
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/act_runner#343
Loading…
Reference in New Issue
Block a user
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?
When using reusable workflows, the
if
condition is ignored even if evaluated to false. In workflow caller:However if it is a normal job and there are steps in the job, the
if
condition does work as expected.Logs where workflow continues to run even if evaluation is false:
or a simpler example is when I set the
if
condition to a workflow caller job's result to run iffailure
but the reusable workflow_call still runs even if the the job succeeded.Conditional reusable workflows ignoredto Conditional ignored in reusable workflowsConditional ignored in reusable workflowsto Reusable workflow still runs even if condition fails