File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 8
8
branches :
9
9
- master
10
10
schedule :
11
- - cron : ' * 5 * * *'
11
+ - cron : ' 0 5 * * *'
12
12
13
13
env :
14
14
DOCKER_BUILDKIT : 1
48
48
run : make test
49
49
env :
50
50
NGINX_PLUS_VERSION : nightly
51
+
52
+ job-failure :
53
+ name : Report Failures
54
+ runs-on : ubuntu-18.04
55
+ if : failure()
56
+ steps :
57
+ - name : Slack Notification
58
+ uses : rtCamp/action-slack-notify@master
59
+ env :
60
+ SLACK_CHANNEL : ${{ secrets.SLACK_CHANNEL }}
61
+ SLACK_COLOR : ' #3278BD'
62
+ SLACK_ICON_EMOJI : ' :github:'
63
+ SLACK_TITLE : Pipeline Failure
64
+ SLACK_MESSAGE : ' The pipeline has failed, please check the logs.'
65
+ SLACK_FOOTER : ' https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
66
+ SLACK_USERNAME : GitHub-Actions
67
+ SLACK_WEBHOOK : ${{ secrets.SLACK_HOOK }}
You can’t perform that action at this time.
0 commit comments