technote-space/workflow-conclusion-action

Report failure when one build fails and others are cancelled.

Closed this issue · 2 comments

Please describe your suggestion: 提案の概要

If you have a matrix build, where one build fails and fail-fast is true, all the other builds in the matrix will be cancelled. In this circumstance, this plugin will report "cancelled" or "failure" depending on the naming of the different jobs in the matrix. My suggestion is that if there's a failure and several cancelled, the plugin should report failure, not cancelled.

The problem is that it sometimes look like builds were cancelled, even though they were only cancelled because of one build failing.

Describe the solution you'd like: 考えうる解決方法

Report failure if the build results contain at least one failure.

Describe alternatives you've considered: 考えうる代替案

You can set fail-fast to false in the strategy. This works, but can be inconvenient and take up a lot of resources.

Additional context: 補足

🙌 Thanks for opening your first issue here! Be sure to follow the issue template!

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.