From 62b1e83d3bb5a877c2ce4f1c110bd9c2f1fbc586 Mon Sep 17 00:00:00 2001 From: Ryan Lymburner <137918933+rlymbur@users.noreply.github.com> Date: Fri, 23 May 2025 15:02:04 -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: