Add optional pull request check for running with entitlements enabled #1321
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Validate Gradle Wrapper" | |
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
validation: | |
name: "Validation" | |
if: github.repository == 'elastic/elasticsearch' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: gradle/wrapper-validation-action@699bb18358f12c5b78b37bb0111d3a0e2276e0e2 # Release v2.1.1 |