From bc11cc1cca60932ffe50b2f1ae043f6fea159b3a Mon Sep 17 00:00:00 2001 From: chai min Date: Mon, 19 Jan 2026 11:10:06 +0800 Subject: [PATCH] restrict GITHUB_TOKEN permissions to read-only for CI job --- .github/workflows/maven.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0e45b551..2f6e2723 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -8,6 +8,8 @@ jobs: runs-on: ubuntu-latest name: Java 17 compile + permissions: + contents: read steps: - name: Git Checkout uses: actions/checkout@v4