Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit ab0a1e8

Browse files
Potential fix for code scanning alert no. 2: Workflow does not contain permissions (#31)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 8e75435 commit ab0a1e8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/npmpublish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66

77
jobs:
88
publish-npm:
9+
permissions:
10+
contents: read
11+
packages: write
912
runs-on: ubuntu-latest
1013
steps:
1114
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)