Raise a warning in github workflow


I there any way to mark a job as unstable? I have added a step in my workflow to create an annotation, and yes, it is displayed in the summary, but the job is still marked as green as the workflow ended successfully.

  - name: Generate Warning Annotations
    run: |
      echo "::warning ::Review needed"

How can i mark the job as unstable?


I’ll be honest, I can’t seem to find a good way to do this.

Thanks for the answer. Do you consider it as a good addition? I can open an issue (don’t know where) to suggest that improvement


I’d go here and submit the feedback. Share feedback - GitHub Support

I’ll also enter your suggestion into an internal system as well.

1 Like