Skip to content

Commit bb297e8

Browse files
ci: potential fix for code scanning alert no. 2: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent eaa751c commit bb297e8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
release:
55
types: [created]
66

7+
permissions:
8+
contents: write
9+
packages: write
10+
actions: read
11+
statuses: write
12+
713
jobs:
814
test:
915
uses: ./.github/workflows/reusable-test.yml

0 commit comments

Comments
 (0)