fix: Allow --only option to be called multiple times #741
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
--- | |
name: Run shell-linter | |
on: | |
- push | |
- pull_request | |
jobs: | |
shellfmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Run the sh-checker | |
uses: luizm/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional if sh_checker_comment is false. | |
SHFMT_OPTS: -l -i 4 -w # Optional: pass arguments to shfmt. | |
with: | |
sh_checker_shellcheck_disable: true | |
sh_checker_comment: true | |
sh_checker_exclude: | | |
src/ | |
debian/postrm | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Run shellcheck | |
run: ./shellcheck/docker_build_and_run_shellcheck.sh |