Skip to content

Commit e0eae5b

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pr-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
pull_request:
44
branches: [ main ]
55

6+
permissions:
7+
contents: read
68
jobs:
79
build:
810
name: Build on ${{ matrix.os }}

0 commit comments

Comments
 (0)