github: restrict Clippy's access again

It seems "checks" is the permissions it needs to be able to comment on
pull-requests.
This commit is contained in:
Martin von Zweigbergk 2022-03-18 22:19:24 -07:00 committed by Martin von Zweigbergk
parent 3f24411bbf
commit b4e6fab1af

View file

@ -54,7 +54,8 @@ jobs:
clippy-stable:
name: Clippy check (stable)
permissions: write-all
permissions:
checks: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
@ -71,7 +72,8 @@ jobs:
clippy-nightly:
name: Clippy check (nightly)
permissions: write-all
permissions:
checks: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846