Skip to content

Commit daf394e

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

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
@@ -7,6 +7,8 @@ on:
77
jobs:
88
build:
99
name: Build Java ${{ matrix.java }} on ${{ matrix.os }}
10+
permissions:
11+
contents: read
1012
runs-on: ${{ matrix.os }}
1113
strategy:
1214
fail-fast: false

0 commit comments

Comments
 (0)