You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance the send-notification job to only trigger on a failure in a previous job.
Context:
The send-notification action sends notifications whenever it is invoked. There is a bug in GitHub Actions where the condition if: ${{ failure() }} does not work when a job in a reusable workflow fails. Further, if: ${{ !success() }} will always run if a previous job is skipped (skipped is apparently not success even though the docs say it is). This means we can't cause the notification only to be sent on failure.
The text was updated successfully, but these errors were encountered:
Enhance the
send-notification
job to only trigger on a failure in a previous job.Context:
The
send-notification
action sends notifications whenever it is invoked. There is a bug in GitHub Actions where the conditionif: ${{ failure() }}
does not work when a job in a reusable workflow fails. Further,if: ${{ !success() }}
will always run if a previous job is skipped (skipped is apparently not success even though the docs say it is). This means we can't cause the notification only to be sent on failure.The text was updated successfully, but these errors were encountered: