Skip to content

Commit f585239

Browse files
authored
Merge pull request #910 from pnp/alert-autofix-19
Potential fix for code scanning alert no. 19: Workflow does not contain permissions
2 parents bb61693 + 01bf892 commit f585239

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/docfx-generate.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
# This workflow contains a single job called "build"
1010
docfx:
11+
permissions:
12+
contents: write
1113
# The type of runner that the job will run on
1214
# Note temporary patch - https://github.com/actions/runner-images/issues/10636
1315
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)