Skip to content

Commit e6e6a34

Browse files
committed
fix: semgrep finding in github workflow
1 parent ce86e1e commit e6e6a34

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
id: release-plugin
5353
uses: JS-DevTools/npm-publish@v2.2.0
5454
with:
55-
token: ${{ secrets.NPM_TOKEN }}
55+
token: "${{ secrets.NPM_TOKEN }}"
5656
access: public
5757
- name: get-npm-version
5858
id: package-version
@@ -61,4 +61,5 @@ jobs:
6161
id: github-release
6262
env:
6363
GITHUB_TOKEN: ${{ secrets.PKG_TOKEN }}
64-
run: gh release create v${{ steps.release-plugin.outputs.version }} --title "Release ${{ steps.release-plugin.outputs.version }}" --generate-notes
64+
VERSION: ${{ steps.release-plugin.outputs.version }}
65+
run: gh release create v"$VERSION" --title "Release $VERSION" --generate-notes

0 commit comments

Comments
 (0)