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 <[email protected]>
  • Loading branch information
pamolloy committed Nov 25, 2024
1 parent 934dfd6 commit a646a65
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lazy-lint.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/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[@]}") | \
xargs mdl -s ../../.mdl_style.rb
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 a646a65

Please sign in to comment.