diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-25 21:36:40 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-25 21:36:40 -0800 |
commit | 7cf94a611fbb4252498990a4277894dda33532f3 (patch) | |
tree | 685d3719a9b9d917751093109787f76c7c7574c8 /.github | |
parent | 91c7e8afc4f8d487940f12f9dca991854e38f310 (diff) |
Allow an arbitrary number of newlines
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/check_misc.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index 3bc990a3ef..1b4cdf8012 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -74,7 +74,7 @@ jobs: g, v = l.split(" ", 3) [g, v] unless last[g] == v end - news.sub!(/^\*( +)The following #{type} gems? are updated\.\n\K(?: \1\* .*\n)*/) do + news.sub!(/^\*( +)The following #{type} gems? are updated\.\n+\K(?: \1\* .*\n)*/) do mark = "#{$1} * " changed.map {|g, v|"#{mark}#{g} #{v}\n"}.join("") end or next |