From cf06a84b10afca1d5e44b8beaf43a5c10d96bb50 Mon Sep 17 00:00:00 2001 From: Ray Ketcham Date: Wed, 22 Apr 2026 00:50:22 +0000 Subject: [PATCH] security: add permissions blocks to workflow files Add explicit `permissions: { contents: read }` at workflow root level for ci.yml. Follows principle of least privilege and resolves GitHub Code Security "Workflow does not contain permissions" alerts. Co-Authored-By: Claude --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20806be..4aa1f6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [main] +permissions: + contents: read + jobs: backend: name: Backend (lint + test)