diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-10-25 17:53:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 17:53:08 -0700 |
commit | 1dd9511b6723b2781e65e2b4093a714576802302 (patch) | |
tree | 776a9925aebd6ac322215faf57fbf6ec76cd63e0 /.github/workflows/windows.yml | |
parent | a733633c5765beead215002563922aa03847c9d0 (diff) | |
download | ruby-1dd9511b6723b2781e65e2b4093a714576802302.tar.gz |
Use ruby/action-slack@v3.0.0 and ref_name (#6633)
It's moved from k0kubun to ruby org.
Also, we don't need JavaScript eval to generate branch if we use
github.ref_name, so v3.0.0 is a version that doesn't use eval.
Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Diffstat (limited to '.github/workflows/windows.yml')
-rw-r--r-- | .github/workflows/windows.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6f5106e815..7f96d3464b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -138,7 +138,7 @@ jobs: env: RUBY_TESTOPTS: -j${{env.TEST_JOBS}} --job-status=normal timeout-minutes: 60 - - uses: k0kubun/action-slack@v2.0.0 + - uses: ruby/action-slack@v3.0.0 with: payload: | { @@ -146,7 +146,7 @@ jobs: "env": "VS${{ matrix.vs }} / ${{ matrix.test_task || 'check' }}", "url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}", "commit": "${{ github.sha }}", - "branch": "${{ github.ref }}".split('/').reverse()[0] + "branch": "${{ github.ref_name }}" } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot |