diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index f5d9eaf38b..88851b8122 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -80,58 +80,3 @@ jobs: - name: test-sim-multi-seed-short run: | make test-sim-multi-seed-short - - sims-notify-success: - needs: - [ - test-sim-multi-seed-short, - test-sim-after-import, - test-sim-import-export, - test-sim-deterministic, - ] - runs-on: depot-ubuntu-22.04-16 - if: ${{ success() }} - steps: - - name: Check out repository - uses: actions/checkout@v4 - - name: Get previous workflow status - uses: ./.github/actions/last-workflow-status - id: last_status - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - - - name: Notify Slack on success - if: ${{ steps.last_status.outputs.last_status == 'failure' }} - uses: rtCamp/action-slack-notify@v2.3.3 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests - SLACK_ICON_EMOJI: ":white_check_mark:" - SLACK_COLOR: good - SLACK_MESSAGE: Sims are passing - SLACK_FOOTER: "" - - sims-notify-failure: - permissions: - contents: none - needs: - [ - test-sim-multi-seed-short, - test-sim-after-import, - test-sim-import-export, - test-sim-deterministic, - ] - runs-on: depot-ubuntu-22.04-16 - if: ${{ failure() }} - steps: - - name: Notify Slack on failure - uses: rtCamp/action-slack-notify@v2.3.3 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_CHANNEL: sdk-sims - SLACK_USERNAME: Sim Tests - SLACK_ICON_EMOJI: ":skull:" - SLACK_COLOR: danger - SLACK_MESSAGE: Sims are failing - SLACK_FOOTER: ""