diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 05a5d003c1dd1..23609f692df7c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -8,6 +8,9 @@ concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} cancel-in-progress: true +permissions: + contents: read + jobs: analyze: runs-on: ubuntu-22.04 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 49d29c91f86cd..0e347b166e425 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -30,6 +30,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true +permissions: + contents: read + jobs: build_wheels: name: Build wheel for ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}