Skip to content

Commit

Permalink
Finish up CI improvements
Browse files Browse the repository at this point in the history
this includes spellcheck for both other files and markdown
updated lint script that has more options - including formatting
enabled markdown link checker as the first pass on making sure links work
update CI to only activate on changed files
  • Loading branch information
BryanQuigley committed Jan 29, 2025
1 parent d1f826f commit 1ce3190
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: MegaLinter
run: ./scripts/lint
run: ./scripts/lint -c
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ DISABLE_LINTERS:
- YAML_V8R
- SPELL_LYCHEE
- MARKDOWN_MARKDOWNLINT
- MARKDOWN_MARKDOWN_TABLE_FORMATTER
PRINT_ALL_FILES: false
DOCKERFILE_HADOLINT_ARGUMENTS: "--ignore DL3008 --ignore DL4006 --ignore DL3009 --ignore DL3059"
SHOW_ELAPSED_TIME: true
Expand Down
2 changes: 1 addition & 1 deletion scripts/lint
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ VALIDATE_ALL_CODEBASE=true
while [[ $# -gt 0 ]]; do
case "$1" in
-f | --fix)
APPLY_FIXES=true
APPLY_FIXES=all
;;
-c | --changes-only)
VALIDATE_ALL_CODEBASE=false
Expand Down

0 comments on commit 1ce3190

Please sign in to comment.