forked from rosebudai/OpenRCT2-Web
Apply review suggestions
This commit is contained in:
1 file changed
+2
-2
@@ -17,10 +17,10 @@ jobs:
|
||||
BODY: ${{ github.event.issue.body }}
|
||||
id: fix
|
||||
run: |
|
||||
changed_body=$(echo "$BODY" | sed '/<strong>commit<\/strong>/,/<\/li>/ s/\(<code>\)\(.*\)\(<\/code>\)/\2/g')
|
||||
changed_body=$(echo "$BODY" | sed '/<strong>commit<\/strong>/,/<\/li>/ s/<code>\([0-9a-f]\{7,\}\)<\/code>/\1/')
|
||||
if [[ "$changed_body" == "$BODY" ]]; then
|
||||
echo "Unable to match the Backtrace report format."
|
||||
exit 1
|
||||
fi
|
||||
echo "$changed_body" >> body.txt
|
||||
gh issue edit $ISSUE --body-file body.txt
|
||||
gh issue edit $ISSUE --body-file body.txt
|
||||
Reference in new issue
Block a user