From c91d9c08845b9df592961451150242a870d3b7c7 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Jul 2026 14:52:19 +0700 Subject: [PATCH] Harden CI workflow token scope with explicit default permissions (#2) * Initial plan * fix: add least-privilege workflow token permissions --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20c4c32..f211aec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: tags: ["*.*.*"] pull_request: +permissions: + contents: read + jobs: test: runs-on: ubuntu-latest