From c052a4d6a6c98e0a6b0eba13e49c3424de42109b Mon Sep 17 00:00:00 2001 From: naveen <172697+naveensrinivasan@users.noreply.github.com> Date: Mon, 13 Jun 2022 00:29:47 +0000 Subject: [PATCH] Restrict permissions for GitHub action See gh-31344 --- .github/workflows/gradle-wrapper-validation.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index 405a2b3065..3e7910534b 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -1,6 +1,9 @@ name: "Validate Gradle Wrapper" on: [push, pull_request] +permissions: + contents: read + jobs: validation: name: "Validation"