ci: Update PR title formatting for Squash and Merge (#711)

Changed the PR reference format from (`#123`) to (PR-123) in squash commit messages
to prevent GitHub from automatically adding reference comments to PRs when
`master-dev-c3-new` is force pushed.
This commit is contained in:
Jason Wen
2025-03-24 22:56:19 -04:00
committed by GitHub
parent 34bbdf4d7f
commit 45c8f5c9d5

View File

@@ -147,7 +147,7 @@ def process_pr(pr_data, source_branch, target_branch, squash_script_path):
squash_script_path,
'--target', target_branch,
'--source', branch,
'--title', f"{title} (#{pr_number})",
'--title', f"{title} (PR-{pr_number})",
], check=True)
print(f"Successfully processed PR #{pr_number}")