Skip to content

Commit

Permalink
ci: Adds job status to notification (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvincestari authored Oct 31, 2024
1 parent 2a8404a commit 9bafdb8
Showing 1 changed file with 48 additions and 1 deletion.
49 changes: 48 additions & 1 deletion .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,53 @@ jobs:
- uses: slackapi/[email protected]
with:
channel-id: ${{ secrets.APOLLO_IOS_HEALTH_SLACK_CHANNEL_ID }}
slack-message: "`Main` Branch Health (${{ github.event.head_commit.url }}): ${{ github.action_status }}"
payload: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "`${{ github.head_ref }}` Branch Health (${{ github.sha }}):"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "* Run Tuist Generation: ${{ needs.tuist-generation.result }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "* Build SPM packages: ${{ needs.run-swift-builds.result }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "* Build and Unit Test: ${{ needs.build-and-unit-test.result }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "* Codegen Test Configurations - macOS: ${{ needs.run-codegen-test-configurations.result }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "* Cocoapods Integration Tests - macOS: ${{ needs.run-cocoapods-integration-tests.result }}"
}
}
]
}
slack-message:
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 9bafdb8

Please sign in to comment.