build: harden lint.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex 2022-09-25 16:32:17 +02:00
parent 4cf30b79aa
commit 137b77d37f

View File

@ -1,5 +1,7 @@
name: lint
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
tox-lint:
runs-on: ubuntu-latest