From d8a099e94a4f43ba87736bb5503e77d14ba8145a Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 8 Dec 2022 20:31:55 +0200 Subject: [PATCH] build: harden ci.yml permissions Signed-off-by: Alex --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b353d2c3a..4a5101ae2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,15 @@ on: - main - master +permissions: + contents: read # to fetch code (actions/checkout) + jobs: Tests: + permissions: + contents: read # to fetch code (actions/checkout) + checks: write # to create new checks (coverallsapp/github-action) + runs-on: ubuntu-latest strategy: matrix: