Skip to content

Commit b7fa04e

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>
1 parent 806b59e commit b7fa04e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# Run unit test and the action itself
33
##
44
name: Unit Test
5+
permissions:
6+
contents: read
57
on:
68
pull_request:
79
push:

0 commit comments

Comments
 (0)