Skip to content

Commit f6e2029

Browse files
author
Yuriy Bezsonov
committed
fix(ci): add explicit permissions to workflow
Set contents: read as minimum required permission for GITHUB_TOKEN. Resolves code scanning alert #31.
1 parent 125677a commit f6e2029

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
pull_request:
1414
branches: [ "main" ]
1515

16+
permissions:
17+
contents: read
18+
1619
jobs:
1720
build-java25:
1821
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)