diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-27 23:49:40 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-01-30 14:49:32 +0100 |
commit | 3d9e7d0745110f9ad47d002877d7400501fd2ad0 (patch) | |
tree | ce0e52203eba7e8835cfac9531a7cb5391b6d6df | |
parent | f35fac17c339f15849b159478b06ce21ecabcf58 (diff) | |
download | pw-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-x | pw-apply | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" } |