GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: enable trusted publishing releases by Puppo · Pull Request #231 · fastify/fastify-accepts

Conversation

@Puppo

@Puppo Puppo commented Oct 4, 2026

Copy link
Copy Markdown
Member

Adds a manually dispatched release workflow with patch, minor, and major choices, enabling approval-gated npm trusted publishing through the shared Fastify workflow.

The caller grants id-token: write and contents: write only to the release job and pins fastify/workflows/.github/workflows/reusable-release.yml to b1a11bce713bc857e52b2231fec3c89071ad3135. The shared workflow uses the release environment, commits/pushes the version bump, publishes to npm with provenance, and creates the GitHub Release. This JavaScript package needs no release build step.

Follows fastify/accept-negotiator#77 as one of two pilot migration drafts.

Validation

Local validation with Node.js 24.21.0 and npm 11.19.0:

  • npm install --ignore-scripts --no-audit --no-fund
  • npm run lint
  • npm test: 10 runtime tests passed with 100% coverage; 39 type assertions passed.
  • Actionlint 1.7.12 passed for the new workflow; verified dispatch choices, permissions, pinned reusable-workflow input compatibility, and the inherited release environment.
  • npm pack: inspected the tarball and verified index.js, types/index.d.ts, and unchanged package version 5.0.6.

Admin setup before the first release

These settings are not changed by this PR and remain unverified:

  • Configure the release environment with required reviewer team fastify/release and deployment access exclusively for branch main (check for extra branch/tag policies).
  • Confirm branch protection/rulesets allow the reusable workflow to push the version commit using GITHUB_TOKEN.
  • Configure the npm GitHub Actions Trusted Publisher: label manual-gha-release, organization fastify, repository fastify-accepts, workflow filename release.yml, environment release, Allow publish enabled.
  • After review, setup, and merge, validate one real release: approval gate and reviewer notifications, npm package contents/provenance, version commit, tag, and GitHub Release. Use a manual Discord notification if GitHub notifications prove insufficient.

No version bump, npm publication, release dispatch, or administrative settings/access changes were performed while preparing this draft.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Puppo
ci: enable trusted publishing releases
3ee270c
@Puppo
Puppo marked this pull request as ready for review October 4, 2026 09:55
ilteoood
ilteoood approved these changes Oct 4, 2026
View reviewed changes
This was referenced Oct 4, 2026
ci: enable trusted publishing releases fastify/ajv-compiler#191
Merged
ci: enable trusted publishing releases fastify/avvio#364
Merged
ci: enable trusted publishing releases fastify/busboy#232
Merged
ci: enable trusted publishing releases fastify/csrf#113
Merged
ci: enable trusted publishing releases fastify/csrf-protection#226
Merged
ci: enable trusted publishing releases fastify/deepmerge#102
Merged
ci: enable trusted publishing releases fastify/env-schema#245
Merged
ci: enable trusted publishing releases fastify/fast-content-type-parse#84
Merged
ci: enable trusted publishing releases fastify/fast-json-stringify#889
Merged
ci: enable trusted publishing releases fastify/fast-json-stringify-compiler#98
Merged
ci: enable trusted publishing releases fastify/fast-uri#225
Merged
ci: enable trusted publishing releases fastify/fastify-accepts-serializer#159
Merged
ci: enable trusted publishing releases fastify/fastify-auth#301
Merged
ci: enable trusted publishing releases fastify/fastify-autoload#532
Merged
ci: enable trusted publishing releases fastify/fastify-awilix#212
Merged
ci: enable trusted publishing releases fastify/fastify-basic-auth#202
Merged
ci: enable trusted publishing releases fastify/fastify-bearer-auth#251
Merged
ci: enable trusted publishing releases fastify/fastify-caching#202
Merged
ci: enable trusted publishing releases fastify/fastify-circuit-breaker#181
Merged
ci: enable trusted publishing releases fastify/fastify-compress#433
Merged
ci: enable trusted publishing releases fastify/fastify-cookie#378
Merged
ci: enable trusted publishing releases fastify/fastify-cors#421
Merged
ci: enable trusted publishing releases fastify/fastify-elasticsearch#168
Merged
ci: enable trusted publishing releases fastify/fastify-env#247
Merged
ci: enable trusted publishing releases fastify/fastify-error#174
Merged
ci: enable trusted publishing releases fastify/fastify-etag#176
Merged
ci: enable trusted publishing releases fastify/fastify-express#207
Merged
This was referenced Oct 4, 2026
ci: enable trusted publishing releases fastify/fastify-valkey-glide#57
Merged
ci: enable trusted publishing releases fastify/fastify-websocket#383
Merged
ci: enable trusted publishing releases fastify/proxy-addr#118
Merged
ci: enable trusted publishing releases fastify/releasify#365
Merged
ci: enable trusted publishing releases fastify/restartable#133
Merged
ci: enable trusted publishing releases fastify/safe-regex2#90
Merged
ci: enable trusted publishing releases fastify/secure-json-parse#190
Merged
ci: enable trusted publishing releases fastify/send#144
Merged
ci: enable trusted publishing releases fastify/session#359
Merged
ci: enable trusted publishing releases fastify/sse#59
Merged
ci: enable trusted publishing releases fastify/under-pressure#301
Merged
ci: enable trusted publishing releases fastify/server#3
Merged
ci: enable trusted publishing releases fastify/fluent-json-schema#308
Merged
ci: enable trusted publishing releases fastify/forwarded#110
Merged
ci: enable trusted publishing releases fastify/json-schema-ref-resolver#55
Merged
ci: enable trusted publishing releases fastify/light-my-request#405
Merged
ci: enable trusted publishing releases fastify/merge-json-schemas#48
Merged
ci: enable trusted publishing releases fastify/middie#274
Merged
ci: enable trusted publishing releases fastify/otel#195
Merged
ci: enable trusted publishing releases fastify/point-of-view#529
Merged
ci: enable trusted publishing releases fastify/process-warning#149
Merged
ci: enable trusted publishing releases fastify/one-line-logger#96
Merged
ci: enable trusted publishing releases fastify/aws-lambda-fastify#320
Merged
ci: enable trusted publishing releases fastify/fastify-flash#170
Merged
ci: enable trusted publishing releases fastify/fastify-passport#1449
Merged
ci: enable trusted publishing releases fastify/fastify-swagger-ui#294
Merged
ci: enable trusted publishing releases fastify/fastify-type-provider-typebox#299
Merged
ci: enable trusted publishing releases fastify/pre-commit#122
Merged
Tony133
Tony133 approved these changes Oct 5, 2026
View reviewed changes
@Tony133
Tony133 merged commit 90c8e7b into fastify:main Oct 5, 2026
17 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ilteoood ilteoood ilteoood approved these changes
@Tony133 Tony133 Tony133 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@Puppo @ilteoood @Tony133
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.