From 8654ab9c38deaa1496a0be69008a6ee996e1467f Mon Sep 17 00:00:00 2001 From: joshua stein Date: Wed, 6 Mar 2024 09:17:09 -0600 Subject: [PATCH] pr-check: Libraries have another column --- .github/workflows/pr-check.rb | 5 +++++ 1 file changed, 5 insertions(+) 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