Skip to content

Add way to distinguish success and success-with-errors for continue-on-error jobs #1161

Open
@rnett

Description

Describe the enhancement
I have a few jobs that I don't want to fail the workflow on failure. However, I do want to be able to react to the failure in further jobs, i.e. with needs.A.result. This is currently impossible: continue-on-error means that even if the job errors, the result is set to success (note that the UI still shows failure).

I would like for either result to be set to failed or a new state (errored?) when a continue-on-error job errors, or for there to be some other way to detect errors in continue-on-error jobs. The best solution is probably what is currently done for steps: a pre-continue-on-error output (e.g. outcome) and a post one (e.g. conclusion, but could keep the name result)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfutureFeature work that we haven't prioritized

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions