build: harden tests.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex 2022-09-20 16:28:22 +02:00
parent f060309002
commit 432201611d

View File

@ -6,8 +6,14 @@ on:
pull_request:
branches: [ master, dev ]
permissions: {}
jobs:
build:
permissions:
contents: read # to fetch code (actions/checkout)
checks: write # to create new checks (coverallsapp/github-action)
runs-on: ubuntu-latest
strategy:
matrix: