Fixed error in dataformat-cli and datasets-cli for docker debian/ubun… #5
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: "CI - Shell Script Linter" | |
on: | |
workflow_dispatch: | |
inputs: | |
path: | |
description: "Path to the shell scripts to lint" | |
required: true | |
default: "src/**/*.sh" | |
severity: | |
description: "Minimum Severity (style, info, warning, error)" | |
required: true | |
default: "style" | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
shellchecker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Shell Linter | |
uses: azohra/[email protected] | |
with: | |
path: "src/**/*.sh" | |
severity: "error" | |
env: | |
SHELLCHECK_OPTS: -e SC2072 |