Merge pull request #126 from bjhargrave/dependabot/github_actions/act… #139
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 # v2.10.1 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
downloads.gradle.org:443 | |
github.com:443 | |
services.gradle.org:443 | |
- name: Git Checkout | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Gradle Wrapper Validation | |
uses: gradle/actions/wrapper-validation@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0 |