dubbo-go-bot opened a new pull request, #776: URL: https://github.com/apache/dubbo-go-pixiu/pull/776
## 🔄 Upstream Sync from Community Fork This PR automatically syncs changes from the community fork to the Apache upstream repository. ### Original Contribution - **Author**: @Similarityoung - **Original PR**: https://github.com/dubbo-go-pixiu/dubbo-go-pixiu/pull/6 - **Merged at**: 2025-10-04 10:09:21 UTC ### Original PR Description --- <!-- Thanks for sending a pull request! --> **What this PR does**: enhance upstream sync workflow configuration ## Summary by Sourcery Enhance the sync-to-upstream GitHub Actions workflow by introducing a configuration section with environment variables for upstream/fork repository settings, base branch, bot credentials, and excluded files, and refactor all steps to use these variables. CI: - Add a configurable env section for UPSTREAM_ORG, UPSTREAM_REPO, FORK_ORG, FORK_REPO, BASE_BRANCH, BOT_NAME, BOT_EMAIL, and EXCLUDE_FILES. - Replace hard-coded repository, branch, bot, and URL values with the corresponding environment variables across checkout, git config, remote setup, rebase, PR creation, and error reporting steps. - Refactor fork-specific file removal to iterate over the EXCLUDE_FILES list from env rather than hard-coding file paths. - Update workflow comments and documentation to explain the new configuration options and usage. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - Chores - Made upstream/fork configuration fully environment-driven (orgs, repos, base branch, bot identity, excluded files). - Reworked branch checks, fetch/rebase, and PR creation to respect the configurable base branch and dynamic upstream/fork pairing. - Made file exclusion, commit/PR messaging, notifications, and error/manual-resolution guidance reflect the dynamic upstream/fork context. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- ### Commit Details All commits in this PR preserve the original authorship. You can verify this by checking the commit history. **Note**: This PR was automatically created by GitHub Actions when PR #6 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]
