Skip to content

Commit 546e996

Browse files
Potential fix for code scanning alert no. 6: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Dev Mukherjee <[email protected]>
1 parent 72aac3c commit 546e996

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish-package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
tags:
66
- "v*.*.*" # Trigger the workflow only on version tags
7+
permissions:
8+
contents: read
9+
packages: write
710
jobs:
811
test:
912
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)