From 3fc6eb735fb09e1c0802f755ea458dee877dc96e Mon Sep 17 00:00:00 2001 From: Romeo Rosete Date: Tue, 20 May 2025 10:21:27 -0400 Subject: [PATCH] Potential fix for code scanning alert no. 1: Workflow does not contain permissions Romeo Rosete 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 78410aab10..e8977aa762 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,6 +7,9 @@ on: branches: [ master ] workflow_dispatch: +permissions: + contents: read + jobs: lint: name: Lint