diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2020-03-07 00:34:41 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2020-03-07 00:34:41 -0800 |
commit | f9f3510e64ca0f82f673f78a2279f654ba9fbe63 (patch) | |
tree | 183b8895e44daba2039fc18fffab38ebdac6950c /.github/workflows | |
parent | b9d45d3ac0dea776c563b3308e91945b3b4d4fe8 (diff) | |
download | ruby-f9f3510e64ca0f82f673f78a2279f654ba9fbe63.tar.gz |
Hook an experimental alert from Actions
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/macos.yml | 13 | ||||
-rw-r--r-- | .github/workflows/mingw.yml | 13 | ||||
-rw-r--r-- | .github/workflows/mjit.yml | 13 | ||||
-rw-r--r-- | .github/workflows/ubuntu.yml | 13 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 13 |
5 files changed, 65 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index f1294afb31..9970299c54 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -67,3 +67,16 @@ jobs: env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} 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' diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 3bdb2f6759..38432df7ea 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -152,3 +152,16 @@ jobs: env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} 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' diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml index 331bd1682f..0bd2f347df 100644 --- a/.github/workflows/mjit.yml +++ b/.github/workflows/mjit.yml @@ -68,3 +68,16 @@ jobs: env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} 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' diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 6c122d16bf..9b4237d967 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -81,3 +81,16 @@ jobs: env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} 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' diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ed2079a610..fdac90ca8f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -84,3 +84,16 @@ jobs: env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} 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' |