From f9f3510e64ca0f82f673f78a2279f654ba9fbe63 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sat, 7 Mar 2020 00:34:41 -0800 Subject: Hook an experimental alert from Actions --- .github/workflows/macos.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to '.github/workflows/macos.yml') 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' -- cgit v1.2.3