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.
@@ -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
