From 86c2148bff9fd970909c84981fcf125224932142 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 8 Dec 2022 20:16:17 +0200 Subject: [PATCH] build: harden test.yml permissions Signed-off-by: Alex --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca0b7cf6..5760c89a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [main] +permissions: + contents: read # to fetch code (actions/checkout) + jobs: lint: runs-on: ubuntu-latest