dubbo-go-bot opened a new pull request, #790: URL: https://github.com/apache/dubbo-go-pixiu/pull/790
## 🔄 Upstream Sync from Community Fork This PR automatically syncs changes from the community fork to the upstream repository. ### Original Contribution - **Author**: @Similarityoung - **Original PR**: https://github.com/dubbo-go-pixiu/dubbo-go-pixiu/pull/17 - **Merged at**: 2025-11-02 14:12:49 UTC ### Original PR Description --- This pull request makes improvements to the `.github/workflows/sync-to-upstream.yml` workflow, focusing on security and maintainability. The most important changes include clarifying the security of the repository checkout step and refactoring the sync failure reporting logic to use an external file for the issue body, which improves readability and error handling. ## Summary by Sourcery Improve the sync-to-upstream workflow by bolstering checkout security and refactoring the sync failure reporting logic to use an external file and robust error handling Enhancements: - Clarify repository checkout security by explicitly checking out the base branch for pull_request_target workflows - Refactor sync failure reporting to generate the issue body in a separate file for improved readability - Add error handling for failed issue creation to log an explicit failure message and exit <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Upstream sync workflow now skips automated pull-bot PRs early and logs the decision. * Consolidated template files for PR/issue/comment text and improved generated descriptions, including attribution and original PR details. * Added explicit timestamped branch creation, clearer checkout security note, and refined failure handling with issue-creation fallback and manual-resolution guidance. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- All commits preserve original authorship. **Note**: Auto-created when PR #17 was merged into `dubbo-go-pixiu/dubbo-go-pixiu:develop`. cc @Similarityoung -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
