Skip to content

chore: update types - #118

Merged
emmanuelnk merged 3 commits into
mainfrom
chore/schema-update-260617
Aug 11, 2026
Merged

chore: update types#118
emmanuelnk merged 3 commits into
mainfrom
chore/schema-update-260617

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated PR to update workflow types due to schema changes.

@github-actions
github-actions Bot requested a review from emmanuelnk June 17, 2026 03:29
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
github-actions-workflow-ts Ready Ready Preview Aug 11, 2026 4:49pm

…ypes

Upstream schema now wraps eventObject/types refs in single-element allOf,
which json-schema-to-typescript compiles to a shared EventObject alias and
drops sibling properties. Unwrap the refs during preprocessing and inline
eventObject for events carrying their own activity-types enum, restoring
the named *Event aliases and surfacing the new per-event *EventTypes.

Also picks up the new background step keywords (background, wait,
wait-all, cancel, parallel) added to the schema.
@github-actions github-actions Bot added the chore label Aug 11, 2026
@emmanuelnk

Copy link
Copy Markdown
Owner

🤖 Claude

The bot's regeneration lost the named event type aliases because SchemaStore restructured the schema: refs to eventObject/types are now wrapped in single-element allOf arrays, which json-schema-to-typescript compiles to one shared EventObject alias and silently drops sibling properties.

Pushed two commits on top:

  • generateWorkflowTypes.ts now unwraps the allOf wrappers during preprocessing, restoring all *Event aliases, and surfaces the per-event activity-type enums the schema added (e.g. IssuesEventTypes, ReleaseEventTypes — 18 new exports). Regeneration also picked up the new background step keywords (background, wait, wait-all, cancel, parallel) and workflow_run.workflows.
  • Regenerated the typedoc API reference (stale since chore: improve generated workflow type names #80).

Export surface vs main is purely additive — no removed or renamed types. All 302 tests pass.

@emmanuelnk
emmanuelnk merged commit 4268705 into main Aug 11, 2026
9 checks passed
@emmanuelnk
emmanuelnk deleted the chore/schema-update-260617 branch August 11, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant