Skip to content

Commit 3049905

Browse files
Potential fix for code scanning alert no. 4: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: John Lago <[email protected]>
1 parent 72004d9 commit 3049905

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/random-reviewer-assignment.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
pull_request:
44
types: [opened]
55

6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
610
env:
711
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
812

0 commit comments

Comments
 (0)