From d6cc4cfcbffbf84f27c7e4e4159da1e42dd5d689 Mon Sep 17 00:00:00 2001 From: Thomas Schuetz Date: Thu, 23 Mar 2023 12:04:19 +0100 Subject: [PATCH] fix: add permissions to read repository Signed-off-by: Thomas Schuetz --- .github/workflows/build_container.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_container.yaml b/.github/workflows/build_container.yaml index c6620d9685..1a98778604 100644 --- a/.github/workflows/build_container.yaml +++ b/.github/workflows/build_container.yaml @@ -112,6 +112,7 @@ jobs: GIT_SHA: ${{ needs.prepare_ci_run.outputs.GIT_SHA }} permissions: packages: write # Needed for pushing images to the registry + contents: read # Needed for checking out the repository steps: - name: Check out code uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3