From 991a9dd6855fc49655916c0a299ff4dc806c037a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Aguiar?= Date: Thu, 7 Aug 2025 11:20:41 -0300 Subject: [PATCH] Potential fix for code scanning alert no. 3: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index a3c71af..d714c06 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -94,6 +94,8 @@ jobs: runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') needs: [publish] + permissions: + contents: write steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2