ci: Move reviewdog permissions block (#6)

The permission declaration appears to be sensitive to the position in
the file. Move it to the start to ensure it takes effect.
This commit is contained in:
Nik Clayton 2023-09-05 22:20:18 +02:00 committed by GitHub
parent 8a9dd7dc60
commit e6ce86158b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,11 @@
name: reviewdog-suggester
on: pull_request
permissions:
contents: read
issues: write
pull-requests: write
jobs:
ktlint:
timeout-minutes: 5
@ -28,8 +34,3 @@ jobs:
- uses: reviewdog/action-suggester@v1
with:
tool_name: ktlintFormat
permissions:
contents: read
issues: write
pull-requests: write