summaryrefslogtreecommitdiff
path: root/.github/workflows/ubuntu.yml
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-08-18 23:19:09 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-18 23:19:10 +0900
commitd8807e8b1a9d09ee1543e18618b4ef7e8203c616 (patch)
treef8eb916e43cea233954a115d1d9adb5c91e4401d /.github/workflows/ubuntu.yml
parent829b800c10086ee504995c6e088d87370c552c40 (diff)
Try notifying Slack from Actions
https://github.com/8398a7/action-slack https://github.com/marketplace/actions/action-slack
Diffstat (limited to '.github/workflows/ubuntu.yml')
-rw-r--r--.github/workflows/ubuntu.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 8c2d3a2fd5..cd95fda494 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -58,3 +58,15 @@ jobs:
continue-on-error: true
- name: Leaked Globals
run: make -s leaked-globals
+ - uses: 8398a7/action-slack@v1
+ with:
+ type: success
+ env:
+ SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
+ if: success()
+ - uses: 8398a7/action-slack@v1
+ with:
+ type: failure
+ env:
+ SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
+ if: failure()