Skip to content

Commit

Permalink
Improve Cirrus notification metadata [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Oct 26, 2022
1 parent df43611 commit 94f3aa2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cirrus-notify.yml
Expand Up @@ -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' }}

0 comments on commit 94f3aa2

Please sign in to comment.