Skip to content

Commit 082d10a

Browse files
PuppoTony133
authored andcommitted
ci: enable trusted publishing releases
1 parent 9470f99 commit 082d10a

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release the package
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
semver:
7+
description: 'Release bump type'
8+
required: true
9+
type: choice
10+
options:
11+
- patch
12+
- minor
13+
- major
14+
15+
permissions: {}
16+
17+
jobs:
18+
release:
19+
permissions:
20+
id-token: write # required for npm provenance via OIDC
21+
contents: write # required to push the release commit and the tag
22+
uses: fastify/workflows/.github/workflows/reusable-release.yml@b1a11bce713bc857e52b2231fec3c89071ad3135
23+
with:
24+
semver: ${{ inputs.semver }}

0 commit comments

Comments
 (0)