Fix CI-status-report (#18679)

* Test CI status report

* Fail both regardless

* that wasn't suppose to work

* Test using conclusion

* Test alls-green

* Add back report

* Add or case?

* Remove success()

* Only send message on main
This commit is contained in:
Mac Siri 2022-11-04 07:06:22 -04:00 committed by GitHub
parent 14ddbc49ec
commit a3dbf5d5e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,11 +193,10 @@ jobs:
if: always()
steps:
- run: exit 0
if: success()
- run: exit 1
if: failure()
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
- name: Report failure to Slack channel
uses: slackapi/slack-github-action@v1