Skip to content

Conversation

@mmagician
Copy link
Collaborator

builds on top of #96

Base automatically changed from mmagician-runnable-examples to main August 11, 2025 07:36
@mmagician mmagician force-pushed the mmagician-slack-notification branch from 6ad1e97 to d49b699 Compare August 11, 2025 11:29
@mmagician mmagician marked this pull request as ready for review August 11, 2025 11:29
@mmagician mmagician marked this pull request as draft August 11, 2025 11:29
@mmagician mmagician requested a review from Copilot August 11, 2025 11:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Slack notifications for failed CI runs in the documentation tests workflow. The change integrates with an existing Slack notification system mentioned as building on top of #96.

  • Adds a Slack notification step that triggers only when the documentation tests fail
  • Configures the notification with failure status, custom message, and relevant GitHub context fields

with:
status: ${{ job.status }}
text: '❌ Documentation tests failed on ${{ github.ref }}'
webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
Copy link

Copilot AI Aug 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding validation to ensure SLACK_WEBHOOK_URL secret exists before attempting to use it. The workflow will fail silently if the secret is not configured.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants