From 7881600c955ee6cd6c25da1f129d4862b4ee6b1a Mon Sep 17 00:00:00 2001 From: Ismail Tasdelen <104323185+ismailtsdln@users.noreply.github.com> Date: Sun, 25 Jan 2026 23:09:37 +0300 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/go.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0d2dab4..24eebcc 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [ "main" ] +permissions: + contents: read + jobs: ci: runs-on: ubuntu-latest