We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a2406c + f16b32d commit d1c37f9Copy full SHA for d1c37f9
.github/workflows/download_data.yml
@@ -37,3 +37,18 @@ jobs:
37
labels: |
38
automated
39
draft: false
40
+
41
+ on-failure:
42
+ runs-on: ubuntu-latest
43
+ if: ${{ always() && (needs.download_data.result == 'failure' || needs.download_data.result == 'timed_out') }}
44
+ needs:
45
+ - download_data
46
+ steps:
47
+ - uses: actions/checkout@v2
48
+ - name: Slack Notification
49
+ uses: rtCamp/action-slack-notify@v2
50
+ env:
51
+ SLACK_USERNAME: GH Actions Bot
52
+ SLACK_TITLE: Workflow ${{ needs.download_data.result }}
53
+ MSG_MINIMAL: actions url
54
+ SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
0 commit comments