Provide a cancellation reason in the "needs" context #184623
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Why are you starting this discussion?
Product Feedback
What GitHub Actions topic or product is this about?
General
Discussion Details
Could we add a
cancellation_reasonproperty to theneedscontext?We currently have a workflow with 2 jobs (Job A and Job B), where Job B only runs if Job A fails. This conditional run is achieved through the
needscontext.We want to consider some of the cancellation reasons as a failure for Job A, however, there is no way to find out why Job A was cancelled.
If Job A gets cancelled due to a timeout we would like Job B to run. If Job A was cancelled due to workflow concurrency settings or manually cancelled, then these are valid cancellation reasons and so Job B should not run.
Beta Was this translation helpful? Give feedback.
All reactions