1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Improve Cirrus notification metadata [ci skip]

This commit is contained in:
Takashi Kokubun 2022-10-25 23:02:04 -07:00
parent df43611021
commit 94f3aa2126
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -22,9 +22,11 @@ jobs:
{
"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' }}