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:
parent
14ddbc49ec
commit
a3dbf5d5e3
1 changed files with 4 additions and 5 deletions
9
.github/workflows/ci-cd.yml
vendored
9
.github/workflows/ci-cd.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue