From 456397d09da503c9f2f652aad3c69c2a58643d86 Mon Sep 17 00:00:00 2001 From: Ryan Lymburner <137918933+rlymbur@users.noreply.github.com> Date: Mon, 2 Jun 2025 15:59:03 -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: