Skip to content

Commit

Permalink
Add shellcheck linter for Makefiles
Browse files Browse the repository at this point in the history
Signed-off-by: Alba Hita Catala <[email protected]>
  • Loading branch information
ahitacat committed Sep 18, 2024
1 parent a089517 commit b651695
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
fetch-depth: 1

- name: yamllint
- name: linter
uses: oxsecurity/megalinter/flavors/ci_light@v8
env:
FILTER_REGEX_EXCLUDE: 'hypershiftoperator/deploy/base/|hypershiftoperator/deploy/crds/|maestro/deploy/helm/'
6 changes: 6 additions & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
APPLY_FIXES: none
ENABLE_LINTERS:
- YAML_YAMLLINT
- BASH_SHELLCHECK
EXCLUDED_DIRECTORIES:
- "node_modules"
BASH_SHELLCHECK_ARGUMENTS:
- -i1101
- -fgcc
BASH_SHELLCHECK_FILE_NAMES_REGEX:
- "Makefile"
LINTER_RULES_PATH: .
PRINT_ALPACA: false
GITHUB_STATUS_REPORTER: false
Expand Down

0 comments on commit b651695

Please sign in to comment.