Job runs even if previous job failed - and "success() == true" ! #81
Labels
No Label
kind
bug
kind
build
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
duplicate
reviewed
invalid
reviewed
needs feedback
reviewed
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/act_runner#81
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Consider this workflow:
In GitHub Actions, the behavior is this:
In Gitea Actions, the behavior is this:
If all the steps are in the same job, the "failure() = true", which is the expected and as per the GitHub Actions.
But if they are different jobs (as per my YAML above), with the "needs", the second job should be Skipped.
If the "needs" isn't present, then GitHub Actions runs the other job, and also makes "success() = true".
So, "success()" seems to be just per Job, and not per "Run/Workflow".
I believe the bug here, then, is just that "needs" is being ignored in Gitea Actions.
Related to #77.
Fixed by https://github.com/go-gitea/gitea/pull/23789