From 7729fdb18e4b3349e54a1d04970d667a066c633f Mon Sep 17 00:00:00 2001 From: Manuel Spigolon Date: Sun, 13 Sep 2026 18:43:35 +0200 Subject: [PATCH 1/2] feat: add release workflow --- .github/workflows/release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..a973bf58 --- /dev/null +++ b/.github/workflows/release.yml @@ -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@663f05653c6c03566b42465f0409879538400acd + with: + semver: ${{ inputs.semver }} From a3abe6a2830ea966767ff758989efe1c8625c867 Mon Sep 17 00:00:00 2001 From: Manuel Spigolon Date: Sun, 13 Sep 2026 18:51:03 +0200 Subject: [PATCH 2/2] chore: repin the reusable release workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a973bf58..8be658b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,6 @@ jobs: 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@663f05653c6c03566b42465f0409879538400acd + uses: fastify/workflows/.github/workflows/release.yml@2ce820549a7b93a001364454f1ccf368e017a4ff with: semver: ${{ inputs.semver }}