diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2023-06-28 23:17:54 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2023-06-29 16:58:11 +0900 |
commit | 48e646fd96a834709fdfdddf08b1ac7dd188d50f (patch) | |
tree | 60a9eee1e75657040e5b8d473ef0b064a6dcb4bc /.github/workflows/bundled_gems.yml | |
parent | 26b69fd4071b88c24654b19109beeb2ee416c0fa (diff) | |
download | ruby-48e646fd96a834709fdfdddf08b1ac7dd188d50f.tar.gz |
refactor extract ${{ ghithub }} expressions
Use composite action to reduce copy & paste.
Diffstat (limited to '.github/workflows/bundled_gems.yml')
-rw-r--r-- | .github/workflows/bundled_gems.yml | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/.github/workflows/bundled_gems.yml b/.github/workflows/bundled_gems.yml index 096c245d9a..e00de382e7 100644 --- a/.github/workflows/bundled_gems.yml +++ b/.github/workflows/bundled_gems.yml @@ -123,16 +123,7 @@ jobs: GIT_COMMITTER_NAME: git if: ${{ github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull') && steps.show.outcome == 'failure' }} - - uses: ruby/action-slack@0bd85c72233cdbb6a0fe01d37aaeff1d21b5fce1 # v3.2.1 + - uses: ./.github/actions/slack with: - payload: | - { - "ci": "GitHub Actions", - "env": "${{ github.workflow }} / update", - "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' }} |