Skip to content

Commit 25ceb05

Browse files
Fix Bug
Text injection issue for the tag name. Signed-off-by: Elliot Huffman <[email protected]>
1 parent d9230a2 commit 25ceb05

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/NPM-Publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,7 @@ jobs:
164164
- name: Validate Attestation
165165
env:
166166
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
167-
run: |
168-
TAG_VERSION=${GITHUB_REF#refs/tags/}
169-
gh attestation verify package.zip --repo Software-Hardware-Integration-Lab/ObjectID-Converter --signer-workflow Software-Hardware-Integration-Lab/ObjectID-Converter/.github/workflows/NPM-Publish.yml@refs/tag/$TAG_VERSION
167+
run: gh attestation verify package.zip --repo Software-Hardware-Integration-Lab/ObjectID-Converter --signer-workflow Software-Hardware-Integration-Lab/ObjectID-Converter/.github/workflows/NPM-Publish.yml@refs/tag/${GITHUB_REF#refs/tags/}
170168

171169
# Extract the zip file and remove the container
172170
- name: Unzip Artifact

0 commit comments

Comments
 (0)