From e25beac145dd3b3943dcf270a2f0d7c7f8c12e60 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Thu, 15 Dec 2022 10:40:32 -0800 Subject: Enable Slack notifications on more Actions auto_request_review, codeql-analysis, scorecards don't have it either, but those are intentional. --- .github/workflows/bundled_gems.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to '.github/workflows/bundled_gems.yml') diff --git a/.github/workflows/bundled_gems.yml b/.github/workflows/bundled_gems.yml index 942988c7d8..93cebaf435 100644 --- a/.github/workflows/bundled_gems.yml +++ b/.github/workflows/bundled_gems.yml @@ -143,3 +143,17 @@ jobs: GIT_AUTHOR_NAME: git GIT_COMMITTER_NAME: git if: ${{ github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull') && steps.show.outcome == 'failure' }} + + - uses: ruby/action-slack@b6882ea6ef8f556f9f9af9ec1220d3f1ced74acf # v3.0.0 + with: + payload: | + { + "ci": "GitHub Actions", + "env": "${{ github.workflow }} / ${{ matrix.test_task }} ${{ matrix.configure }}${{ matrix.arch }}", + "url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}", + "commit": "${{ github.sha }}", + "branch": "${{ github.ref_name }}" + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot + if: ${{ failure() && github.event_name == 'push' }} -- cgit v1.2.3