forked from mirrors/jj
github: give Clippy action full permissions
I've found it hard to figure out which actions need which permissions. GitHub doesn't seem to even document what the permissions mean. So let's just give Clippy full access.
This commit is contained in:
parent
af76631021
commit
b5659ec680
1 changed files with 2 additions and 4 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -54,8 +54,7 @@ jobs:
|
|||
|
||||
clippy-stable:
|
||||
name: Clippy check (stable)
|
||||
permissions:
|
||||
pull-requests: write
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -72,8 +71,7 @@ jobs:
|
|||
|
||||
clippy-nightly:
|
||||
name: Clippy check (nightly)
|
||||
permissions:
|
||||
pull-requests: write
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
Loading…
Reference in a new issue