Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: release

on:
workflow_dispatch:
inputs:
semver:
description: 'Release bump type'
required: true
type: choice
options:
- patch
- minor
- major

permissions: {}

jobs:
release:
permissions:
id-token: write # required for npm provenance via OIDC
contents: write # required to push the release commit and the tag
# TODO: repin to the fastify/workflows release tag once https://github.com/fastify/workflows/pull/237 is released
uses: fastify/workflows/.github/workflows/release.yml@2ce820549a7b93a001364454f1ccf368e017a4ff
with:
semver: ${{ inputs.semver }}