From 3c0155969b068c63c263ff056e050a02bb8e1c87 Mon Sep 17 00:00:00 2001 From: Gaoyang Date: Fri, 17 Apr 2026 10:53:46 +0800 Subject: [PATCH] chore: restrict CI workflow permissions to contents:read --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7e0129..c18eb4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,9 @@ on: pull_request: branches: [ "main" ] +permissions: + contents: read + jobs: build-and-test: name: Build & Test (${{ matrix.os }})