Skip to content

Commit 140556c

Browse files
committed
chore: use gh to create release
1 parent f09c850 commit 140556c

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,21 @@ on:
99
tags:
1010
- '*'
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
create_release:
1417
runs-on: ubuntu-24.04
1518
name: Create release on GitHub
1619
permissions:
1720
contents: write
1821
steps:
19-
- uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
22+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2023
with:
21-
generateReleaseNotes: true
22-
permissions:
23-
contents: read
24+
persist-credentials: false
25+
- env:
26+
VERSION: ${{ github.ref_name }}
27+
GH_TOKEN: ${{ github.token }}
28+
run: |
29+
gh release create "$VERSION" --verify-tag --generate-notes

0 commit comments

Comments
 (0)