ruby-changes:74256
From: Takashi <ko1@a...>
Date: Wed, 26 Oct 2022 15:02:32 +0900 (JST)
Subject: [ruby-changes:74256] 94f3aa2126 (master): Improve Cirrus notification metadata [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=94f3aa2126 From 94f3aa2126231fb04f4c3125162e84f6acc3df09 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Tue, 25 Oct 2022 23:02:04 -0700 Subject: Improve Cirrus notification metadata [ci skip] --- .github/workflows/cirrus-notify.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cirrus-notify.yml b/.github/workflows/cirrus-notify.yml index 3fd693c2a3..bbc84bf93b 100644 --- a/.github/workflows/cirrus-notify.yml +++ b/.github/workflows/cirrus-notify.yml @@ -22,9 +22,11 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/cirrus-notify.yml#L22 { "ci": "Cirrus CI", "env": "Cirrus CI", - "url": "https://cirrus-ci.com/github/ruby/ruby", - "commit": "${{ github.sha }}", - "branch": "${{ github.ref_name }}" + "url": "https://github.com/ruby/ruby/actions/runs/${{ github.run_id }}", + "commit": "${{ github.event.check_suite.head_commit.id }}", + "branch": "${{ github.event.check_suite.head_branch }}" } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot + # head_branch can be null. checking it here to see GITHUB_CONTEXT on master. + if: ${{ github.event.check_suite.head_branch == 'master' }} -- cgit v1.2.3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/