diff --git a/.github/workflow-templates/wrapper.properties.json b/.github/workflow-templates/wrapper.properties.json new file mode 100644 index 00000000000..70e7343efd3 --- /dev/null +++ b/.github/workflow-templates/wrapper.properties.json @@ -0,0 +1,11 @@ +{ + "name": "Validate Gradle Wrapper", + "description": "Validate Gradle Wrapper starter workflow.", + "categories": [ + "Gradle" + ], + "filePatterns": [ + "^gradlew$", + "^gradlew.bat$" + ] +} diff --git a/.github/workflow-templates/wrapper.yml b/.github/workflow-templates/wrapper.yml new file mode 100644 index 00000000000..992faa65f6b --- /dev/null +++ b/.github/workflow-templates/wrapper.yml @@ -0,0 +1,10 @@ +name: Validate Gradle Wrapper +on: [pull_request] + +jobs: + validate: + name: Validate + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: gradle/wrapper-validation-action@v1