Skip to content

Commit 9610ff7

Browse files
Potential fix for code scanning alert no. 2: Workflow does not contain permissions (#95)
* 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> * removed package permissions Signed-off-by: munishchouhan <hrma017@gmail.com> --------- Signed-off-by: munishchouhan <hrma017@gmail.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 23a55f8 commit 9610ff7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 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,9 @@ 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+
actions: write
124129
steps:
125130
- name: Checkout repository
126131
uses: actions/checkout@v4

0 commit comments

Comments
 (0)