build: harden validate.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex 2022-09-24 08:52:57 +02:00
parent 1667a66856
commit feaa75c529

View file

@ -9,6 +9,9 @@ on:
- 'v*' - 'v*'
pull_request: pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs: jobs:
validate: validate:
runs-on: ubuntu-latest runs-on: ubuntu-latest