From 600561e44cc4942ca888990f4ec6d8c7c86d147f Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 19 Sep 2022 21:02:02 +0200 Subject: [PATCH] build: harden build.yml permissions Signed-off-by: Alex --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f94319eb05..cb7a64a706 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,9 @@ on: - cron: '0 4 1 * *' workflow_dispatch: +permissions: + contents: read # to fetch code (actions/checkout) + jobs: build: runs-on: ${{ matrix.os }}