Skip to content

Commit 83902b4

Browse files
committed
Fix PR analyze permissions
1 parent abced1b commit 83902b4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/analyze.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
permissions:
1111
pull-requests: read
1212
contents: read
13+
checks: write
1314

1415
env:
1516
BUILD_JAVA_VERSION: '21'
@@ -78,8 +79,6 @@ jobs:
7879
WF_PRKEY: ${{ fromJson(steps.get_pr_data.outputs.data).number }}
7980
WF_BRANCH: ${{ fromJson(steps.get_pr_data.outputs.data).head.ref }}
8081
WF_BASE: ${{ fromJson(steps.get_pr_data.outputs.data).base.ref }}
81-
permissions:
82-
checks: write
8382
run: |
8483
cp -f base/pom.xml .
8584
mvn -B \

0 commit comments

Comments
 (0)