fix(ci): relay release event through workflow_dispatch for changelog prose#1792
Merged
Merged
Conversation
…prose claude-code-action@v1 only supports issue/PR/dispatch/schedule events and fails immediately with "Unsupported event type: release", so prose was never generated for any core release. A relay job now converts the release event into a workflow_dispatch run, which the action supports. Manual dispatch also allows backfilling prose for missed releases. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014XvU1qtEarEbskzieqU6tj
✅ Deploy Preview for vjs10-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📦 Bundle Size Report🎨 @videojs/html — no changesPresets (7)
Media (10)
Players (5)
Skins (30)
UI Components (39)
Sizes are marginal over the root entry point. ⚛️ @videojs/react — no changesPresets (7)
Media (9)
Skins (27)
UI Components (33)
Sizes are marginal over the root entry point. 🧩 @videojs/core — no changesEntries (14)
🏷️ @videojs/element — no changesEntries (2)
📦 @videojs/store — no changesEntries (3)
🔧 @videojs/utils — no changesEntries (10)
📦 @videojs/spf — no changesEntries (4)
ℹ️ How to interpretJS sizes are initial static graph totals (minified + brotli). Lazy dynamic chunks are shown separately when present.
Run |
mihar-22
approved these changes
Jul 2, 2026
This was referenced Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The #462 epic intends to build a pipeline that generates human-readable changelogs in the docs on every release. The first step? Using an LLM to turn our mechanical changelogs into narrative prose. We built this in #1029 but it's broken. This PR aims to fix it.
Problem
The
Changelog Proseworkflow has failed on every release since it landed (e.g. run 26121269875). The job dies before Claude ever starts:Fix
Keep the
release: publishedtrigger, but split the workflow into two jobs:dispatch— runs on thereleaseevent, filters for@videojs/core@*tags, and relays the tag/URL into aworkflow_dispatchrun of this same workflow viagh workflow run. (workflow_dispatchis exempt from theGITHUB_TOKENrecursion guard, so the default token withactions: writeis sufficient — no new PAT needed.)prose— runs onworkflow_dispatch, which the action supports. Same guard + prompt as before, now driven bytag_name/release_urlinputs instead of the release payload.Side benefit: prose for missed releases (beta.22, beta.23, beta.24) can be backfilled by manually dispatching the workflow with the release tag once this merges.
As long as we're here
Also hardened while in here: release tag/URL are passed through env vars rather than interpolated into scripts,
release_urlfalls back to the tag's release page when not provided, and permissions are scoped per job.Generated by Claude Code
Note
Low Risk
CI-only workflow wiring and scripting changes; no runtime product or auth logic.
Overview
Fixes Changelog Prose failing on
releasebecauseclaude-code-actiondoes not support that event.The workflow now keeps
release: publishedbut adds adispatchjob that filters@videojs/core@*tags and re-triggers the same workflow viaworkflow_dispatchwithtag_nameandrelease_url. Theprosejob runs only onworkflow_dispatch, using those inputs instead ofgithub.event.release. Manual dispatch also allows backfilling missed releases.Hardening: workflow-level permissions are removed in favor of per-job scopes; tag and URL are passed through env vars in shell steps;
release_urldefaults to the tag’s GitHub release page when omitted; concurrency keys offinputs.tag_namewhen dispatched.Reviewed by Cursor Bugbot for commit 55b566f. Bugbot is set up for automated code reviews on this repo. Configure here.