Skip to content

Post QA build status to Slack - #133

Merged
arpit-bruno merged 2 commits into
usebruno:release/v0.6.0from
sundram-bruno:ci/qa-builds-slack-notify
Nov 23, 2026
Merged

arpit-bruno merged 2 commits into
usebruno:release/v0.6.0from
sundram-bruno:ci/qa-builds-slack-notify

Conversation

@sundram-bruno

@sundram-bruno sundram-bruno commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Adds a last notify job to qa-builds.yml that posts the result to #api-docs-builds slack channel through an incoming webhook.

notify (runs after build → publish → verify, skipped only when the run is cancelled)
├─ secret SLACK_WEBHOOK_URL missing → log "not set, skipping", job passes
├─ find the PR
│   ├─ preview/pr-<n> tag → n from the tag name
│   └─ release branch push → PR merged as this commit (GitHub API), else "pushed by <actor>"
└─ post to Slack
    ├─ verify succeeded, release → ✅ <folder> is live · PR · sha · site link
    ├─ verify succeeded, preview → 🔎 preview of #<n> is live · sha · site link
    └─ anything else failed    → ❌ <folder> build failed (or preview of #<n>) · sha · run link
  • PR titles reach the script only through the API, never through ${{ }}, and are escaped for Slack.
  • The job needs pull-requests: read to look up the merged PR.
  • The site link points at the build folder, which has no index page yet, so it returns 404 until a demo page is published per folder.

@changeset-bot

changeset-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 68f9e82

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

arpit-bruno
arpit-bruno previously approved these changes Nov 23, 2026
@arpit-bruno
arpit-bruno merged commit 6e057e0 into usebruno:release/v0.6.0 Nov 23, 2026
8 checks passed
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