From aa3a0444ebd77e1e1d1edad9216be8fb159332ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Aguiar?= Date: Thu, 7 Aug 2025 10:53:58 -0300 Subject: [PATCH] Potential fix for code scanning alert no. 4: 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 9a33c1d2..9e0f6ccd 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -112,6 +112,9 @@ jobs: needs: [publish-maven-central, publish-github-packages] runs-on: ubuntu-latest + permissions: + contents: write + steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2