From 5949a52e23cbcd562e70592b95f158276b171792 Mon Sep 17 00:00:00 2001 From: Lukas Burgholzer Date: Mon, 14 Oct 2024 22:22:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=82=20ensure=20right=20permissions=20f?= =?UTF-8?q?or=20workflows=20(#46)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: burgholzer --- .github/workflows/reusable-cpp-coverage.yml | 3 ++- .github/workflows/reusable-python-ci.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-cpp-coverage.yml b/.github/workflows/reusable-cpp-coverage.yml index ede9f9b..5a3b5e5 100644 --- a/.github/workflows/reusable-cpp-coverage.yml +++ b/.github/workflows/reusable-cpp-coverage.yml @@ -20,7 +20,8 @@ jobs: name: 📈 Coverage runs-on: ubuntu-latest permissions: - id-token: write + contents: read # Required for the `actions/checkout` action + id-token: write # Required for the `codecov/codecov-action` action env: CMAKE_BUILD_PARALLEL_LEVEL: 4 CTEST_PARALLEL_LEVEL: 4 diff --git a/.github/workflows/reusable-python-ci.yml b/.github/workflows/reusable-python-ci.yml index 4708705..2bfba1b 100644 --- a/.github/workflows/reusable-python-ci.yml +++ b/.github/workflows/reusable-python-ci.yml @@ -57,7 +57,8 @@ jobs: needs: [python-tests] runs-on: ubuntu-latest permissions: - id-token: write + contents: read # Required for the `actions/checkout` action + id-token: write # Required for the `codecov/codecov-action` action steps: # check out the repository (mostly for the codecov config) - uses: actions/checkout@v4