Skip to content

Commit 8678931

Browse files
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 2120863 commit 8678931

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
@@ -3,6 +3,8 @@ name: Node CI
33
on: [push]
44
jobs:
55
build:
6+
permissions:
7+
contents: read
68
runs-on: macos-latest
79
steps:
810
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)