From dff8abd284e689b7d746c76ad92afe24f12a6ae7 Mon Sep 17 00:00:00 2001 From: John Carmack Date: Wed, 17 Jun 2026 16:30:33 -0500 Subject: [PATCH] Restrict CI workflow GITHUB_TOKEN to contents: read --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79ee0c1..7343902 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,10 @@ on: branches: [main] pull_request: +# CI only checks out and builds — lock the GITHUB_TOKEN to read-only. +permissions: + contents: read + jobs: check: runs-on: ubuntu-latest