From c5915dd6eb9c0a4bc2c0e4bf5e8194a538efe05d Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Date: Mon, 16 Jun 2025 06:17:04 +0200 Subject: [PATCH] Potential fix for code scanning alert no. 2: Workflow does not contain permissions (#16811) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/monthly-check.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/monthly-check.yml b/.github/workflows/monthly-check.yml index d050683152..432cb547a5 100644 --- a/.github/workflows/monthly-check.yml +++ b/.github/workflows/monthly-check.yml @@ -5,6 +5,10 @@ on: schedule: - cron: "0 0 1 * *" +permissions: + contents: read + issues: write + jobs: check-usernames: runs-on: ubuntu-latest