Skip to content

Add AI-generated release summary + Google Chat notification to publish workflow#68

Merged
southpolesteve merged 2 commits intomainfrom
feat/gchat-release-notification
Feb 25, 2026
Merged

Add AI-generated release summary + Google Chat notification to publish workflow#68
southpolesteve merged 2 commits intomainfrom
feat/gchat-release-notification

Conversation

@southpolesteve
Copy link
Copy Markdown
Collaborator

Summary

  • After each npm publish, the workflow now tags the release (v0.0.X), collects the commit log since the previous tag, sends it to Claude Haiku via the existing Cloudflare AI Gateway to generate a 1-3 bullet TLDR, and posts the summary to Google Chat.
  • Falls back gracefully if the AI call fails (links to commits instead) or if no prior tag exists (uses last 20 commits).
  • Reuses existing CF_AI_GATEWAY_* secrets; requires GCHAT_WEBHOOK_URL secret (already configured).

Fork PRs don't have access to repository secrets (CLOUDFLARE_API_TOKEN,
CLOUDFLARE_ACCOUNT_ID), so deploy/smoke-test/comment steps always fail.
Add a fork detection condition to skip these steps gracefully. The build
steps still run, so example builds are still validated for fork PRs.
@southpolesteve southpolesteve force-pushed the feat/gchat-release-notification branch from 04291c6 to 2f0641f Compare February 25, 2026 18:57
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Feb 25, 2026

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/vinext@68

commit: 2f0641f

@github-actions
Copy link
Copy Markdown

Example Preview Production Original
app-router-cloudflare preview production
pages-router-cloudflare preview production
app-router-playground preview production original
realworld-api-rest preview production
nextra-docs-template preview production
benchmarks preview production
hackernews preview production original

@southpolesteve southpolesteve merged commit 4d0a008 into main Feb 25, 2026
24 checks passed
@southpolesteve southpolesteve deleted the feat/gchat-release-notification branch February 25, 2026 19:09
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.

1 participant