Minimal token permissions
See https://github.com/tokio-rs/tokio/pull/5072
This commit is contained in:
parent
9afb0e111a
commit
a076ec1cb4
5 changed files with 13 additions and 0 deletions
5
.github/workflows/check.yml
vendored
5
.github/workflows/check.yml
vendored
|
|
@ -1,3 +1,5 @@
|
|||
permissions:
|
||||
contents: read
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
|
@ -20,6 +22,9 @@ jobs:
|
|||
clippy:
|
||||
runs-on: ubuntu-latest
|
||||
name: ${{ matrix.toolchain }} / clippy
|
||||
permissions:
|
||||
contents: read
|
||||
checks: write
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
|
|||
2
.github/workflows/nostd.yml
vendored
2
.github/workflows/nostd.yml
vendored
|
|
@ -1,3 +1,5 @@
|
|||
permissions:
|
||||
contents: read
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
|
|
|||
2
.github/workflows/safety.yml
vendored
2
.github/workflows/safety.yml
vendored
|
|
@ -1,3 +1,5 @@
|
|||
permissions:
|
||||
contents: read
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
|
|
|||
2
.github/workflows/scheduled.yml
vendored
2
.github/workflows/scheduled.yml
vendored
|
|
@ -1,3 +1,5 @@
|
|||
permissions:
|
||||
contents: read
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
|
|
|||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -1,3 +1,5 @@
|
|||
permissions:
|
||||
contents: read
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue