Skip to content

CI: Support failed continue-on-error jobs in try result comment on PRs #40589

@jschwe

Description

@jschwe

We have some CI jobs which we want to pass, but which don't block the MQ. (coverage, Running on harmonyos).
Currently the try comment will always report success if such jobs failed, since the workflow succeeded (try -> dispatch -> workflow -> failed job with continue-on-error: true).
The needs key can only determine the success of the a job it depends on, but not inspect inner results.
We would probably need to use job / worfklow outputs to pass optional workflow results back up, so we can determine if / which optional jobs failed, and write an informational comment like, that highlights that optional jobs failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions