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:
parent
8a9dd7dc60
commit
e6ce86158b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue