Merge pull request #6375 from bndtools/dependabot/github_actions/step… #129
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@0080882f6c36860b6ba35c610c98ce87d4e2f26f | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- name: Git Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 |