Skip to content

Commit

Permalink
Disable on-failure for now
Browse files Browse the repository at this point in the history
  • Loading branch information
hugobuddel committed Nov 17, 2024
1 parent 3c87d37 commit 41fd366
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/download_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@ jobs:
automated
draft: false

on-failure:
runs-on: ubuntu-latest
if: ${{ always() && (needs.download_data.result == 'failure' || needs.download_data.result == 'timed_out') }}
needs:
- download_data
steps:
- uses: actions/checkout@v4
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
env:
SLACK_USERNAME: GH Actions Bot
SLACK_TITLE: Workflow ${{ needs.download_data.result }}
MSG_MINIMAL: actions url
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_COLOR: ${{ needs.download_data.result }}
# on-failure:
# runs-on: ubuntu-latest
# if: ${{ always() && (needs.download_data.result == 'failure' || needs.download_data.result == 'timed_out') }}
# needs:
# - download_data
# steps:
# - uses: actions/checkout@v4
# - name: Slack Notification
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_USERNAME: GH Actions Bot
# SLACK_TITLE: Workflow ${{ needs.download_data.result }}
# MSG_MINIMAL: actions url
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
# SLACK_COLOR: ${{ needs.download_data.result }}

0 comments on commit 41fd366

Please sign in to comment.