Skip to content

Commit 326966a

Browse files
Potential fix for code scanning alert no. 2: Workflow does not contain permissions (#337)
Signed-off-by: Kurt Garloff <[email protected]> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 827b0f5 commit 326966a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

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

6+
permissions:
7+
contents: read
68
jobs:
79
build:
810
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)