We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f09c850 commit 140556cCopy full SHA for 140556c
1 file changed
.github/workflows/release.yml
@@ -9,15 +9,21 @@ on:
9
tags:
10
- '*'
11
12
+permissions:
13
+ contents: read
14
+
15
jobs:
16
create_release:
17
runs-on: ubuntu-24.04
18
name: Create release on GitHub
19
permissions:
20
contents: write
21
steps:
- - uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
22
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23
with:
- generateReleaseNotes: true
-permissions:
- 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