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:
Alex 2022-12-09 11:50:09 +02:00 committed by GitHub
parent 0dddc2c559
commit 81d7dc7264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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