Skip to content

Commit c92ff3a

Browse files
ci: remove slack notification (backport cosmos#24784) (cosmos#24785)
Co-authored-by: julienrbrt <[email protected]>
1 parent 20c63a9 commit c92ff3a

File tree

1 file changed

+0
-55
lines changed

1 file changed

+0
-55
lines changed

.github/workflows/sims.yml

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -80,58 +80,3 @@ jobs:
8080
- name: test-sim-multi-seed-short
8181
run: |
8282
make test-sim-multi-seed-short
83-
84-
sims-notify-success:
85-
needs:
86-
[
87-
test-sim-multi-seed-short,
88-
test-sim-after-import,
89-
test-sim-import-export,
90-
test-sim-deterministic,
91-
]
92-
runs-on: depot-ubuntu-22.04-16
93-
if: ${{ success() }}
94-
steps:
95-
- name: Check out repository
96-
uses: actions/checkout@v4
97-
- name: Get previous workflow status
98-
uses: ./.github/actions/last-workflow-status
99-
id: last_status
100-
with:
101-
github_token: ${{ secrets.GITHUB_TOKEN }}
102-
103-
- name: Notify Slack on success
104-
if: ${{ steps.last_status.outputs.last_status == 'failure' }}
105-
uses: rtCamp/[email protected]
106-
env:
107-
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
108-
SLACK_CHANNEL: sdk-sims
109-
SLACK_USERNAME: Sim Tests
110-
SLACK_ICON_EMOJI: ":white_check_mark:"
111-
SLACK_COLOR: good
112-
SLACK_MESSAGE: Sims are passing
113-
SLACK_FOOTER: ""
114-
115-
sims-notify-failure:
116-
permissions:
117-
contents: none
118-
needs:
119-
[
120-
test-sim-multi-seed-short,
121-
test-sim-after-import,
122-
test-sim-import-export,
123-
test-sim-deterministic,
124-
]
125-
runs-on: depot-ubuntu-22.04-16
126-
if: ${{ failure() }}
127-
steps:
128-
- name: Notify Slack on failure
129-
uses: rtCamp/[email protected]
130-
env:
131-
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
132-
SLACK_CHANNEL: sdk-sims
133-
SLACK_USERNAME: Sim Tests
134-
SLACK_ICON_EMOJI: ":skull:"
135-
SLACK_COLOR: danger
136-
SLACK_MESSAGE: Sims are failing
137-
SLACK_FOOTER: ""

0 commit comments

Comments
 (0)