Merge pull request #6262 from bndtools/dependabot/github_actions/step… #115
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: 'Wrapper' | |
on: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
paths: | |
- 'gradle/wrapper/**' | |
- 'gradlew*' | |
- '.github/**/*wrapper*' | |
pull_request: | |
paths: | |
- 'gradle/wrapper/**' | |
- 'gradlew*' | |
- '.github/**/*wrapper*' | |
env: | |
LC_ALL: en_US.UTF-8 | |
defaults: | |
run: | |
shell: bash | |
permissions: | |
contents: read | |
jobs: | |
validate: | |
name: Validate Gradle Wrapper | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- name: Git Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 |