ci: add workflow-level permissions for least privilege

Add top-level `permissions: contents: read` to the tests workflow,
addressing CodeQL alerts about missing GITHUB_TOKEN permissions.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-12 03:09:06 +00:00
parent d025923ef5
commit e89faeccae
+3
View File
@@ -2,6 +2,9 @@ name: Run Tests & Linting
on: [push, pull_request]
permissions:
contents: read
jobs:
# ── Tests ──────────────────────────────────────────────────────────────
test: