From 4912c0b96cd44ab34f2d24a603d35e71e2842aa2 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 2 Dec 2026 09:40:33 +0300 Subject: [PATCH] Limit CI workflow token to read-only contents The CI jobs only check out code and run checks, so the default token permissions are not needed. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01A2y4b87iFhsrE3GaZwLMbs --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e8a5c1..caba069 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,9 @@ on: branches: [main] pull_request: +permissions: + contents: read + jobs: api: runs-on: ubuntu-latest