Skip to content

Commit

Permalink
Remove slack notification action (#350)
Browse files Browse the repository at this point in the history
The Slack notification action that we were using is no longer supported,
and there isn't an obvious good replacement. This PR removes it.
  • Loading branch information
mdickinson authored Jun 28, 2024
1 parent fc8e490 commit 4b4465f
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/ets-from-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,3 @@ jobs:
run: python etstool.py install --runtime=${{ matrix.runtime }} --source
- name: Run tests
run: python etstool.py test --runtime=${{ matrix.runtime }}

notify-on-failure:
needs: test-with-edm
if: failure()
runs-on: ubuntu-latest
steps:
- name: Notify Slack channel on failure
uses: voxmedia/github-action-slack-notify-build@v1
with:
channel_id: ${{ secrets.ETS_SLACK_CHANNEL_ID }}
status: FAILED
color: danger
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_ACTION_SECRET }}

notify-on-success:
needs: test-with-edm
if: success()
runs-on: ubuntu-latest
steps:
- name: Notify Slack channel on success
uses: voxmedia/github-action-slack-notify-build@v1
with:
channel_id: ${{ secrets.ETS_BOTS_SLACK_CHANNEL_ID }}
status: SUCCESS
color: good
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_ACTION_SECRET }}

0 comments on commit 4b4465f

Please sign in to comment.