aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-27 23:49:40 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2023-01-30 14:49:32 +0100
commit3d9e7d0745110f9ad47d002877d7400501fd2ad0 (patch)
treece0e52203eba7e8835cfac9531a7cb5391b6d6df
parentf35fac17c339f15849b159478b06ce21ecabcf58 (diff)
downloadpw-3d9e7d0745110f9ad47d002877d7400501fd2ad0.tar.gz
pw-apply: Add tags only if they start the line (not quotes)
Some people quote tags in their replies and the script ends up pulling the '>' prefixed result in. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-rwxr-xr-xpw-apply2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw-apply b/pw-apply
index 2a97575..5fc37a2 100755
--- a/pw-apply
+++ b/pw-apply
@@ -55,7 +55,7 @@ set_cover_tags()
[ "$link" == "null" ] && return
tags=$(echo -e "$(curl -s $link | jq -r '.[].content')" |
- sed -n '/\(Ack\|Review\|Test\)ed-[Bb]y:/p')
+ sed -n '/^\(Ack\|Review\|Test\)ed-[Bb]y:/p')
export ADD_TAGS="$tags"
}