Skip to content

Commit

Permalink
pr-check: Libraries have another column
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs committed Mar 6, 2024
1 parent b510a35 commit 8654ab9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pr-check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8654ab9

Please sign in to comment.