From 81cf69dbf509981b80d2a9019dd5a48282d3b2ec Mon Sep 17 00:00:00 2001 From: John Carmack Date: Wed, 17 Jun 2026 17:10:19 -0500 Subject: [PATCH] Pin ci.yml GITHUB_TOKEN to read-only permissions --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4183d4d..7870d9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,11 @@ on: push: branches: [main] +# Every job only reads the repo (checkout, install, build, lint, test, cdk synth); +# none write, release, or assume AWS. Pin the default GITHUB_TOKEN to read-only. +permissions: + contents: read + jobs: web: runs-on: ubuntu-latest