Skip to content

Commit

Permalink
github: Lint the shameless files
Browse files Browse the repository at this point in the history
Signed-off-by: Philip Molloy <philip@philipmolloy.com>
  • Loading branch information
pamolloy committed Nov 25, 2024
1 parent 50cd425 commit e4be1b1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lazy-lint.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

shame_list=(
./src/case_studies/TiogaPass.md
./src/components.md
./src/coreboot.u-root.systemboot/index.md
./src/faq.md
./src/getting_started.md
./src/implementation.md
./src/intro.md
./src/naming.md
./src/SUMMARY.md
./src/u-root.md
./src/utilities/cpu.md
./src/utilities/dut.md
./src/utilities/UEFI_Tool_Kit.md
)

comm -3 <(find -name "*.md" | sort) <(printf "%s\n" "${shame_list[@]}" | sort)
3 changes: 1 addition & 2 deletions .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ jobs:
run: sudo gem install mdl

- name: Lint markdown
continue-on-error: true
run: mdl $(find . -name "*.md")
run: .github/workflows/lazy-lint.bash

0 comments on commit e4be1b1

Please sign in to comment.