Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/port-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
echo "Created temporary body file: ${BODY}"
echo -e "This is an automated request to port PR #${ORIGINAL_ISSUE_NUMBER} by @${GITHUB_ACTOR}\n\n" > $BODY
echo -e "Original PR body:\n\n" >> $BODY
CLEANED_BODY=$(echo "${ORIGINAL_PR}" | jq -r .body | sed -E 's/(close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved):?\s+([a-zA-Z0-9-]+\/[a-zA-Z0-9-.]*)?#[0-9]+\s*,?\s*/Original text redacted by port-pr.yaml /gI')
CLEANED_BODY=$(echo "${ORIGINAL_PR}" | jq -r .body | sed -E 's@(close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved):?\s+([a-zA-Z0-9.-]+/[a-zA-Z0-9.-]*)?#[0-9]+\s*,?\s*@Original text redacted by port-pr.yaml @gI')
echo "${CLEANED_BODY}" >> $BODY
if [ -n "$ISSUE_NUMBER" ]; then
echo -e "\n\nFixes #${ISSUE_NUMBER}" >> $BODY
Expand Down