From 7a21ec23195f4feba4a7e5ea9af59bc1c5b63f60 Mon Sep 17 00:00:00 2001 From: Amlandeep Bhadra Date: Sat, 13 Jun 2026 11:33:40 -0400 Subject: [PATCH] Potential fix for code scanning alert no. 1: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@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 4099c21..28aac4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [main] +permissions: + contents: read + jobs: test: name: Test / Zig ${{ matrix.zig-version }} / ${{ matrix.os }}