diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca06eb67..fb13efe6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,10 @@ on: pull_request: branches: [ "**" ] +permissions: + contents: read + pull-requests: read + jobs: unit: uses: ./.github/workflows/run_tests.yml diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 65cfee2a..f6dc9daf 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -15,6 +15,9 @@ env: # If set, uv will run without updating the uv.lock file. Equivalent to the `uv run --frozen`. UV_FROZEN: "1" +permissions: + contents: read + jobs: ruff: name: Ruff