From 391f78728f839b70b9a6e9266476278e74448c34 Mon Sep 17 00:00:00 2001 From: Ryan Lymburner <137918933+rlymbur@users.noreply.github.com> Date: Tue, 19 Aug 2025 14:34:19 -0700 Subject: [PATCH] Potential fix for code scanning alert no. 13: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/validate-pull-request-presubmit.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-pull-request-presubmit.yaml b/.github/workflows/validate-pull-request-presubmit.yaml index 86a0c283..1074869d 100644 --- a/.github/workflows/validate-pull-request-presubmit.yaml +++ b/.github/workflows/validate-pull-request-presubmit.yaml @@ -1,7 +1,8 @@ name: Validate pull request with presubmit before putting into queue +permissions: + contents: read on: pull_request: -jobs: validate: runs-on: ubuntu-latest env: