From b4e6fab1af7b674667b5f2ba2ff5b70ec653e73a Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Fri, 18 Mar 2022 22:19:24 -0700 Subject: [PATCH] github: restrict Clippy's access again It seems "checks" is the permissions it needs to be able to comment on pull-requests. --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 04b88bbb9..6b66ae4b3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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