From c2e5fcb90519d61322ccaeb249059e0d44d9c82b Mon Sep 17 00:00:00 2001 From: Adrian Sutton Date: Tue, 1 Mar 2022 20:47:36 +1000 Subject: [PATCH] Add GitHub action to verify gradle-wrapper.jar (#3503) Checks that the gradle wrapper jar is from an official release. See https://github.com/gradle/wrapper-validation-action for more details. Signed-off-by: Adrian Sutton --- .github/workflows/gradle-wrapper-validation.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/gradle-wrapper-validation.yml diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml new file mode 100644 index 00000000000..b397f1c6b4a --- /dev/null +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: Apache-2.0 +name: "Validate Gradle Wrapper" +on: [push, pull_request] + +jobs: + validation: + name: "Gradle Wrapper Validation" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: gradle/wrapper-validation-action@v1