Skip to content

Commit

Permalink
comment out slack notification until its working
Browse files Browse the repository at this point in the history
  • Loading branch information
erratic-pattern committed Nov 3, 2023
1 parent 8a4e361 commit 133667a
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/test-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@ jobs:
secrets:
CLOUDTRUTH_API_KEY: ${{ secrets.CT_STAGING_CI_ADMIN_API_KEY }}

slack-notification:
name: Slack Notification
needs: test-nightly
# do not run on skipped or cancelled
if: ${{ always() && (success() || failure()) }}
runs-on: ubuntu-latest
steps:
- uses: rtCamp/action-slack-notify@v2
env:
SLACK_TITLE: CLI Nightly Test
SLACK_CHANNEL: dev-notifications
SLACK_USERNAME: ${{ github.repository }}
SLACK_COLOR: ${{ needs.test-nightly.result }}
SLACK_ICON_EMOJI: ":crab:"
SLACK_MESSAGE: ${{ needs.test-nightly.result == 'success' && '✅ Passed' || needs.test-nightly.result == 'failure' && '❌ Failed' }}
# slack-notification:
# name: Slack Notification
# needs: test-nightly
# # do not run on skipped or cancelled
# if: ${{ always() && (success() || failure()) }}
# runs-on: ubuntu-latest
# steps:
# - uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_TITLE: CLI Nightly Test
# SLACK_CHANNEL: dev-notifications
# SLACK_USERNAME: ${{ github.repository }}
# SLACK_COLOR: ${{ needs.test-nightly.result }}
# SLACK_ICON_EMOJI: ":crab:"
# SLACK_MESSAGE: ${{ needs.test-nightly.result == 'success' && '✅ Passed' || needs.test-nightly.result == 'failure' && '❌ Failed' }}

cleanup-nightly:
name: Nightly Cleanup
Expand Down

0 comments on commit 133667a

Please sign in to comment.