This fix was suggested by GitHub Support as a workaround for a bug where `failure()` is not working for reusable workflows that will be fixed in a few months. Closes gh-16423
@@ -116,7 +116,7 @@ jobs:
send-notification:
name: Send Notification
needs: [ perform-release ]
- if: ${{ failure() || cancelled() }}
+ if: ${{ !success() }}
runs-on: ubuntu-latest
steps:
- name: Send Notification