From fa0b7fdc6f275802f1fc2d7ddaac19a63a5d72f1 Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Wed, 21 Oct 2026 10:43:32 +0000 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8825d19..b200f50 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,5 +1,7 @@ name: Go build for Linux on: [push, pull_request] +permissions: + contents: read jobs: build: