GitHub: Expand yaml-lint.yml #1532
Workflow file for this run
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
# This uses the action https://github.com/marketplace/actions/sh-checker | |
name: Lint Bash | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
sh-checker: | |
name: Lint Bash | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout files | |
uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
.github | |
aws-cli | |
- name: Lint Bash | |
uses: luizm/action-sh-checker@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
sh_checker_comment: true | |
sh_checker_only_diff: true | |
sh_checker_shfmt_disable: true |