From 432201611dba75af1dff6d867bf6f4b4d26ddab8 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 20 Sep 2022 16:28:22 +0200 Subject: [PATCH] build: harden tests.yml permissions Signed-off-by: Alex --- .github/workflows/tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0db909da6..cda0fe979 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: