From e3812ab6c25a18853db6aee6b06f23c93ae39932 Mon Sep 17 00:00:00 2001 From: galaxy73 Date: Tue, 31 Mar 2026 21:35:49 +0800 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 fe437c4..1752668 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,5 +1,8 @@ name: Go +permissions: + contents: read + on: push: branches: [main]