mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Try notifying Slack from Actions
https://github.com/8398a7/action-slack https://github.com/marketplace/actions/action-slack
This commit is contained in:
parent
829b800c10
commit
d8807e8b1a
3 changed files with 36 additions and 0 deletions
12
.github/workflows/macos.yml
vendored
12
.github/workflows/macos.yml
vendored
|
@ -58,3 +58,15 @@ jobs:
|
|||
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()
|
||||
|
|
12
.github/workflows/ubuntu.yml
vendored
12
.github/workflows/ubuntu.yml
vendored
|
@ -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()
|
||||
|
|
12
.github/workflows/windows.yml
vendored
12
.github/workflows/windows.yml
vendored
|
@ -53,3 +53,15 @@ jobs:
|
|||
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()
|
||||
|
|
Loading…
Reference in a new issue