From 3349cdcc1ee937917deeede46221508b9f92a370 Mon Sep 17 00:00:00 2001 From: Mrityunjay Raj Date: Mon, 16 Feb 2026 00:38:44 +0530 Subject: [PATCH] ci: add top-level permissions for least-privilege security, fixes #9344 --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f9590cff..797816f56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} +permissions: + contents: read + jobs: lint: