Update all backtrace commits in body

This commit is contained in:
Hielke Morsink authored and GitHub committed 2023-05-08 23:53:25 +02:00
1 parent b6f64bae9e
commit 037e103e93
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
BODY: ${{ github.event.issue.body }}
id: fix
run: |
changed_body=$(echo "$BODY" | sed '/<strong>commit<\/strong>/,/<\/li>/ s/<code>\([0-9a-f]\{7,\}\)<\/code>/\1/')
changed_body=$(echo "$BODY" | sed '/<strong>commit<\/strong>/,/<\/ul>/ s/<code>\([0-9a-f]\{7,\}\)<\/code>/\1/g')
if [[ "$changed_body" == "$BODY" ]]; then
echo "Unable to match the Backtrace report format."
exit 1