File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 45
45
# Custom token needed to trigger PR checks, as GITHUB_TOKEN won't
46
46
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
47
47
GITHUB_TOKEN : ${{ secrets.PYOS_PR_TOKEN }}
48
+ - name : Slack Notification
49
+ uses : rtCamp/action-slack-notify@v2
50
+ if : failure()
51
+ env :
52
+ SLACK_CHANNEL : pyos-infrastructure
53
+ SLACK_COLOR : ' #db540b'
54
+ SLACK_MESSAGE : " The **ALL Contribs & Reviewers Update** workflow failed for pyopensci.org. Please check the logs."
55
+ SLACK_TOKEN : ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
Original file line number Diff line number Diff line change 49
49
# Custom token needed to trigger PR checks, as GITHUB_TOKEN won't
50
50
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
51
51
GITHUB_TOKEN : ${{ secrets.PYOS_PR_TOKEN }}
52
+ - name : Slack Notification
53
+ uses : rtCamp/action-slack-notify@v2
54
+ if : failure()
55
+ env :
56
+ SLACK_CHANNEL : pyos-infrastructure
57
+ SLACK_COLOR : ' #db540b'
58
+ SLACK_MESSAGE : " The Update Contribs & Reviewers workflow failed for pyopensci.org. Please check the logs."
59
+ SLACK_TOKEN : ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments