From 270bb08eda1452b76b7fb28a43700a97d95ce35c Mon Sep 17 00:00:00 2001 From: Satoshi Qazi Muhammed Date: Tue, 20 Oct 2026 22:07:10 +0400 Subject: [PATCH] fix(ci): read-only token for Code Quality code-quality.yml had no permissions block, so its jobs got the repository default token. None of them writes through GITHUB_TOKEN; permissions: contents: read (CodeQL actions/missing-workflow-permissions #1-#4). --- .github/workflows/code-quality.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 313354e..4d9445e 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -6,6 +6,11 @@ on: pull_request: branches: [main] + +# Read-only token: Code Quality never writes through GITHUB_TOKEN. +permissions: + contents: read + jobs: python-lint: name: Python Lint