Skip to content

Commit 598948f

Browse files
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 23a55f8 commit 598948f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Wave-cli builds
2+
permissions:
3+
contents: read
24
on:
35
push:
46
branches:
@@ -121,6 +123,10 @@ jobs:
121123
if: "contains(github.event.head_commit.message, '[release]') && github.event.ref=='refs/heads/master'"
122124
needs: [ build ]
123125
runs-on: ubuntu-latest
126+
permissions:
127+
contents: write
128+
packages: write
129+
actions: write
124130
steps:
125131
- name: Checkout repository
126132
uses: actions/checkout@v4

0 commit comments

Comments
 (0)