From 46a41df58bba0f69bc4d24dc6764e61e79fea3b5 Mon Sep 17 00:00:00 2001 From: Gerard <77175249+404CellPhoneRepair@users.noreply.github.com> Date: Sun, 8 Mar 2026 21:42:19 -0400 Subject: [PATCH] Potential fix for code scanning alert no. 1: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/custom-action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/custom-action.yml b/.github/workflows/custom-action.yml index 7a87b53f1..717cf59fa 100644 --- a/.github/workflows/custom-action.yml +++ b/.github/workflows/custom-action.yml @@ -1,5 +1,8 @@ on: [push] +permissions: + contents: read + jobs: my-job: runs-on: ubuntu-latest