Merge pull request #1273 from gradle/erichaagdev/add-on-paths #2886
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 Shell Scripts | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
validation: | |
name: Validation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Validate | |
uses: luizm/action-sh-checker@v0.8.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SHELLCHECK_OPTS: -a -x | |
with: | |
sh_checker_comment: true | |
sh_checker_shfmt_disable: true | |
sh_checker_exclude: "gradlew mvnw" |