build: harden test.yml permissions (#1274)
Signed-off-by: Alex <aleksandrosansan@gmail.com> Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
0dddc2c559
commit
81d7dc7264
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -6,6 +6,9 @@ on:
|
||||
pull_request:
|
||||
branches: [ master, '0.[0-9]+' ]
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
check-doc:
|
||||
name: Check doc
|
||||
|
Loading…
x
Reference in New Issue
Block a user