mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 17:42:29 +01:00
Update all backtrace commits in body
This commit is contained in:
2
.github/workflows/backtrace-commit-fix.yml
vendored
2
.github/workflows/backtrace-commit-fix.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user