github: restrict Clippy's access again
It seems "checks" is the permissions it needs to be able to comment on
pull-requests.
@@ -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
