From bd436f97ffb15bc4c8453be38f2288cbf91b2d82 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Thu, 21 May 2026 20:49:30 +0200 Subject: [PATCH] Github actions: Set permissions to make CodeQL happy --- .github/workflows/ci.yml | 3 +++ .github/workflows/clang-tidy.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8583cecb..795a3205 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,9 @@ name: CI on: [ push, pull_request ] +permissions: + contents: read + jobs: linux: runs-on: ubuntu-latest diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index bb221966..0ee02742 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -2,6 +2,9 @@ name: clang-tidy on: [ push, pull_request ] +permissions: + contents: read + jobs: clang-tidy: runs-on: ubuntu-latest