From 0b06e3ab12d07c7a2cec76034e68c5601a644a4c Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Fri, 13 Jun 2025 21:07:18 -0500 Subject: [PATCH] Potential fix for code scanning alert no. 6: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/directory.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/directory.yml b/.github/workflows/directory.yml index a5cb52fa7..a6f8cb3fe 100644 --- a/.github/workflows/directory.yml +++ b/.github/workflows/directory.yml @@ -68,6 +68,10 @@ jobs: runs-on: ubuntu-latest + permissions: + contents: read + packages: read + needs: build if: github.event_name == 'push'