build: harden main.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex 2022-09-19 23:29:48 +02:00
parent 354ae73ffb
commit 3772150267

View File

@ -6,6 +6,9 @@ on:
- master
pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
tests:
name: Python ${{ matrix.python-version }}