diff --git a/.github/workflows/pr-check.rb b/.github/workflows/pr-check.rb index e22ea41..8b25210 100644 --- a/.github/workflows/pr-check.rb +++ b/.github/workflows/pr-check.rb @@ -73,6 +73,11 @@ def sort_and_check(arr, label) puts "Line #{lc} does not match format | |", line fails = true end + elsif state == :libraries + if !line.match(/^\| [^\|]+ \| [^\|]+ \| [^\|]+ \| [^\|]+ \|$/) + puts "Line #{lc} does not match format | | | |", line + fails = true + end else if !line.match(/^\| [^\|]+ \| [^\|]+ \| [^\|]+ \|$/) puts "Line #{lc} does not match format | | |", line