From aca7ff471acffb59f0f9e2cc4de6363872444fcc Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 9 Feb 2023 12:12:17 -0800 Subject: [PATCH] .github: Restrict permissions on cross-build jobs. --- .github/workflows/cross-bootstrap-tools.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cross-bootstrap-tools.yml b/.github/workflows/cross-bootstrap-tools.yml index 85132996f826..9630470d0420 100644 --- a/.github/workflows/cross-bootstrap-tools.yml +++ b/.github/workflows/cross-bootstrap-tools.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [ main ] +permissions: + contents: read + jobs: build: name: ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }})