mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Hook an experimental alert from Actions
This commit is contained in:
parent
b9d45d3ac0
commit
f9f3510e64
5 changed files with 65 additions and 0 deletions
13
.github/workflows/macos.yml
vendored
13
.github/workflows/macos.yml
vendored
|
@ -67,3 +67,16 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
if: failure() && github.event_name == 'push'
|
if: failure() && github.event_name == 'push'
|
||||||
|
# New Slack notification (experimental)
|
||||||
|
- uses: k0kubun/action-slack@v2.0.0
|
||||||
|
with:
|
||||||
|
payload: |
|
||||||
|
{
|
||||||
|
"ci": "GitHub Actions",
|
||||||
|
"env": "${{ github.workflow }} / ${{ matrix.test_task }}",
|
||||||
|
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
|
||||||
|
"commit": "${{ github.sha }}"
|
||||||
|
}
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }}
|
||||||
|
if: failure() && github.event_name == 'push'
|
||||||
|
|
13
.github/workflows/mingw.yml
vendored
13
.github/workflows/mingw.yml
vendored
|
@ -152,3 +152,16 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
if: failure() && github.event_name == 'push'
|
if: failure() && github.event_name == 'push'
|
||||||
|
# New Slack notification (experimental)
|
||||||
|
- uses: k0kubun/action-slack@v2.0.0
|
||||||
|
with:
|
||||||
|
payload: |
|
||||||
|
{
|
||||||
|
"ci": "GitHub Actions",
|
||||||
|
"env": "${{ github.workflow }} / ${{ matrix.test_task }}",
|
||||||
|
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
|
||||||
|
"commit": "${{ github.sha }}"
|
||||||
|
}
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }}
|
||||||
|
if: failure() && github.event_name == 'push'
|
||||||
|
|
13
.github/workflows/mjit.yml
vendored
13
.github/workflows/mjit.yml
vendored
|
@ -68,3 +68,16 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
if: failure() && github.event_name == 'push'
|
if: failure() && github.event_name == 'push'
|
||||||
|
# New Slack notification (experimental)
|
||||||
|
- uses: k0kubun/action-slack@v2.0.0
|
||||||
|
with:
|
||||||
|
payload: |
|
||||||
|
{
|
||||||
|
"ci": "GitHub Actions",
|
||||||
|
"env": "${{ github.workflow }} / ${{ matrix.test_task }} ${{ matrix.jit_opts }}",
|
||||||
|
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
|
||||||
|
"commit": "${{ github.sha }}"
|
||||||
|
}
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }}
|
||||||
|
if: failure() && github.event_name == 'push'
|
||||||
|
|
13
.github/workflows/ubuntu.yml
vendored
13
.github/workflows/ubuntu.yml
vendored
|
@ -81,3 +81,16 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
if: failure() && github.event_name == 'push'
|
if: failure() && github.event_name == 'push'
|
||||||
|
# New Slack notification (experimental)
|
||||||
|
- uses: k0kubun/action-slack@v2.0.0
|
||||||
|
with:
|
||||||
|
payload: |
|
||||||
|
{
|
||||||
|
"ci": "GitHub Actions",
|
||||||
|
"env": "${{ matrix.os }} / ${{ matrix.test_task }}",
|
||||||
|
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
|
||||||
|
"commit": "${{ github.sha }}"
|
||||||
|
}
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }}
|
||||||
|
if: failure() && github.event_name == 'push'
|
||||||
|
|
13
.github/workflows/windows.yml
vendored
13
.github/workflows/windows.yml
vendored
|
@ -84,3 +84,16 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
if: failure() && github.event_name == 'push'
|
if: failure() && github.event_name == 'push'
|
||||||
|
# New Slack notification (experimental)
|
||||||
|
- uses: k0kubun/action-slack@v2.0.0
|
||||||
|
with:
|
||||||
|
payload: |
|
||||||
|
{
|
||||||
|
"ci": "GitHub Actions",
|
||||||
|
"env": "${{ matrix.os }} / ${{ matrix.test_task }}",
|
||||||
|
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
|
||||||
|
"commit": "${{ github.sha }}"
|
||||||
|
}
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }}
|
||||||
|
if: failure() && github.event_name == 'push'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue