Skip to content

Commit

Permalink
First attempt at nightly build notification
Browse files Browse the repository at this point in the history
  • Loading branch information
calvincestari committed Oct 31, 2024
1 parent 19fc7cf commit 0d77250
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,35 @@ jobs:
- name: Run CocoaPods Integration Tests
id: run-cocoapods-integration-tests
uses: ./.github/actions/run-cocoapods-integration-tests

send-slack-status-notification:
runs-on: macos-latest
if: ${{ always() }}
timeout-minutes: 5
needs: [tuist-generation, run-swift-builds, build-and-unit-test, run-codegen-test-configurations, run-cocoapods-integration-tests]
name: Send Slack status notification
steps:
- uses: slackapi/[email protected]
with:
channel-id: ${{ secrets.APOLLO_IOS_HEALTH_SLACK_CHANNEL_ID }}
payload: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "`Main` Branch Health (${{ github.event.head_commit.url }}): ${{ github.action_status }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "${{ jobs.tuist-generation.name }}: ${{ jobs.tuist-generation.result }}"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 0d77250

Please sign in to comment.