Skip to content

Commit 119d5ef

Browse files
authored
Merge pull request #1 from shaojohn/alert-autofix-2
Potential fix for code scanning alert no. 2: Workflow does not contain permissions
2 parents 0e2f77b + 8219d9b commit 119d5ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/maven-build-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
jobs:
1010
build:
11+
permissions:
12+
contents: write
1113
runs-on: ubuntu-latest
1214

1315
steps:

0 commit comments

Comments
 (0)