From e897965547433be124c2e7d8d1c613f37e971ab9 Mon Sep 17 00:00:00 2001 From: Joyce Date: Thu, 9 Mar 2023 15:01:25 -0300 Subject: [PATCH] chore: update ubuntu.yml permissions Signed-off-by: Joyce --- .github/workflows/ubuntu.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 52e753436..7a80c3ee6 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -8,6 +8,9 @@ on: - release/* pull_request: workflow_dispatch: + +permissions: + contents: read concurrency: group: ${{ github.workflow }}-${{ github.ref || github.run_id }} @@ -102,6 +105,9 @@ jobs: ci_test_coverage: runs-on: ubuntu-latest container: ghcr.io/nlohmann/json-ci:v2.4.0 + permissions: + contents: read + checks: write steps: - uses: actions/checkout@v3 - name: Run CMake