chore: update ubuntu.yml permissions

Signed-off-by: Joyce <joycebrum@google.com>
This commit is contained in:
Joyce 2023-03-09 15:01:25 -03:00 committed by GitHub
parent 473450a4b0
commit e897965547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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