vercel

repository-dispatch

Utilities for working with dispatch events triggered by Vercel

by vercel

TypeScript

TypeScript94%
JavaScript6%

Commit activity

Last 12 weeks · 2 commits

Full graph →

Community health

3 of 6 standards met

Community profile →
62
✓README✓License✓Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 3 discussions · Last activity 1w ago
See all on GitHub →
schoenwaldnils

I got this warning in my action run: Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: vercel/repository-dispatch/actions/status@v1.

schoenwaldnils · 3mo ago
SferaDev

SHA-pinning tools like pinact resolve the latest version for this repo as and pin its SHA because they fail to locate latest version. Consumers who manually start from a good pin get reverted to the non-functional state on the next update run. Suggested fix Cut a proper release from current that is reachable via a normal semver tag, and pinning tools resolve the correct . cc @tknickman

SferaDev · 4mo ago
vilkg

Create a (or ) GHA with 3 sequential jobs use somewhere in the second job make the second job fail Result: the workflow gets status even though the workflow status is failed Expected: workflow should have status Suspect: https://github.com/vercel/repository-dispatch/blob/main/actions/status/src/utils/set-commit-status.ts#L86 ( returns first job in the list of workflow jobs)

vilkg · 8mo ago
Copilot

Repository dispatch success events can include deployment aliases, but the client payload type did not model that field. This PR updates the payload contract so consumers can read aliases in a typed way. Payload type update Added optional to in . Keeps backward compatibility by making the field optional. Documentation update Updated the package payload example in to include and show a success-state payload. Aligns docs with the event shape expected by consumers. Release metadata** Added a changeset for patch release.

Copilot · 1w ago
tknickman

Summary Several blocks inline expressions directly into the script source (, , inputs). This moves every one of them into and references them as quoted shell variables, following GitHub's guidance for composite actions and workflows. Why: Inlining into is the pattern CodeQL and zizmor flag (template injection), so consumers running those scanners against their workflows will see it. It's a small change with no behavior change for existing callers, and every consumer picks it up once the tag moves. An action should treat its documented inputs as data rather than script source, regardless of how the caller wires them. Changes : , , and go through . Resolution order is unchanged (explicit → SHA → empty) and log lines are identical. Values are written with , and a ref containing a newline fails the step so it can't add extra lines to . Also drops the unused env entries. : all fields and the raw payload go through . : inputs go through / in both the shell step and the step. New **: Fails if any block under or contains (via , preinstalled on ). Runs with refs containing shell metacharacters and asserts none of them get evaluated. Checks that checks out that exact SHA. : upgrades Next.js → . Next 16 removed , so the example now lints with Biome (, ) instead of ESLint. The stock SVGs are excluded, and Tailwind v4 directives are enabled in the CSS parser. : drops Node 18.x from the matrix, since Next 16 requires Node 20.9 or later. : widens from exactly / to / . Vercel now builds with Node 22 and a newer pnpm 9, and pnpm hard-fails on a root engines mismatch, which was breaking the example's preview deployment. Follow-up After merge, move the tag to the merge commit so consumers pick this up. 🤖 Generated with Claude Code

tknickman · 1w ago
prisubs

Summary GitHub Actions is deprecating Node 20 on runners starting June 2 (changelog). This PR upgrades the sub-action to use the runtime. Changes:** : → : → : add to the test matrix The and sub-actions are composite actions and are unaffected. The compiled dist output is unchanged — only the runtime declaration needed updating.

prisubs · 3mo ago
Structured data for AI agents

Repository: vercel/repository-dispatch. Description: Utilities for working with dispatch events triggered by Vercel Stars: 12, Forks: 6. Primary language: TypeScript. Languages: TypeScript (94%), JavaScript (6%). License: MIT. Homepage: https://repository-dispatch-smoke-example.vercel.app Latest release: @vercel/repository-dispatch@0.1.0 (1y ago). Open PRs: 0, open issues: 3. Last activity: 1w ago. Community health: 62%. Top contributors: tknickman, Copilot, prisubs, vercel-release-bot, github-actions[bot], vercel[bot].