From db3feb65c66f00114897bc543c7e0a6e4d7794ef Mon Sep 17 00:00:00 2001 From: Alex <93376818+sashashura@users.noreply.github.com> Date: Fri, 2 Sep 2022 17:31:57 +0100 Subject: [PATCH] Use read-only permissions for CMake CI workflow too This wasn't done in 64add326f6 (Restrict job permissions in GitHub actions workflows, 2022-06-27) for some reason. See #22574. Closes #22769. Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com> --- .github/workflows/ci_cmake.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci_cmake.yml b/.github/workflows/ci_cmake.yml index 7b269b52f6..336403c5ab 100644 --- a/.github/workflows/ci_cmake.yml +++ b/.github/workflows/ci_cmake.yml @@ -45,6 +45,9 @@ on: - '*.yml' - 'wxwidgets.props' +permissions: + contents: read + jobs: build: runs-on: ${{ matrix.runner }}