From a42a13cf45bfb01c1170a935082249c6dce71b8c Mon Sep 17 00:00:00 2001 From: Emerson Delatorre <38289677+fazedordecodigo@users.noreply.github.com> Date: Wed, 3 Dec 2025 20:10:21 -0300 Subject: [PATCH] Potential fix for code scanning alert no. 21: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6969afd..18e95f9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,5 +1,7 @@ name: Tests run-name: ${{ github.actor }} execute Tests +permissions: + contents: read on: pull_request: types: [opened, synchronize, reopened]