[前][次][番号順一覧][スレッド一覧]

ruby-changes:57155

From: Takashi <ko1@a...>
Date: Sun, 18 Aug 2019 23:19:53 +0900 (JST)
Subject: [ruby-changes:57155] Takashi Kokubun: d8807e8b1a (master): Try notifying Slack from Actions

https://git.ruby-lang.org/ruby.git/commit/?id=d8807e8b1a

From d8807e8b1a9d09ee1543e18618b4ef7e8203c616 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Sun, 18 Aug 2019 23:19:09 +0900
Subject: Try notifying Slack from Actions

https://github.com/8398a7/action-slack
https://github.com/marketplace/actions/action-slack

diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index e357e3a..3537d22 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -58,3 +58,15 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L58
         if: matrix.test_task != 'check'
       - 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()
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 8c2d3a2..cd95fda 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -58,3 +58,15 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L58
         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()
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 984ac70..4dd1d1a 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -53,3 +53,15 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L53
         run: |
           call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
           nmake ${{ matrix.test_task }}
+      - 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()
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]