mirror of
https://github.com/martinvonz/jj.git
synced 2024-11-28 09:14:04 +00:00
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:
parent
3f24411bbf
commit
b4e6fab1af
1 changed files with 4 additions and 2 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue