Skip to content

Commit 14b4f61

Browse files
authored
Merge pull request #20 from VantaInc/showzeb/VM-4639
Fixing Command Injection vulnerability
2 parents 77e1cd9 + 54d671d commit 14b4f61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535

3636
- name: Update version if specified
3737
if: github.event_name == 'workflow_dispatch' && github.event.inputs.version != ''
38-
run: npm version ${{ github.event.inputs.version }} --no-git-tag-version
38+
env:
39+
VERSION: ${{ github.event.inputs.version }}
40+
run: npm version "$VERSION" --no-git-tag-version
3941

4042
- name: Publish to NPM
4143
run: npm publish --access public

0 commit comments

Comments
 (0)