You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "dubbo-go-bot (via GitHub)" <gi...@apache.org> on 2025/10/04 10:09:25 UTC

[PR] feat: enhance upstream sync workflow configuration [dubbo-go-pixiu]

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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [PR] feat: enhance upstream sync workflow configuration [dubbo-go-pixiu]

Posted by "baerwang (via GitHub)" <gi...@apache.org>.
baerwang closed pull request #776: feat: enhance upstream sync workflow configuration
URL: https://github.com/apache/dubbo-go-pixiu/pull/776


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [PR] feat: enhance upstream sync workflow configuration [dubbo-go-pixiu]

Posted by "sonarqubecloud[bot] (via GitHub)" <gi...@apache.org>.
sonarqubecloud[bot] commented on PR #776:
URL: https://github.com/apache/dubbo-go-pixiu/pull/776#issuecomment-3368091798

   ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=apache_dubbo-go-pixiu&pullRequest=776) **Quality Gate passed**  
   Issues  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=apache_dubbo-go-pixiu&pullRequest=776&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_dubbo-go-pixiu&pullRequest=776&issueStatuses=ACCEPTED)
   
   Measures  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_dubbo-go-pixiu&pullRequest=776&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_dubbo-go-pixiu&pullRequest=776&metric=new_coverage&view=list)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_dubbo-go-pixiu&pullRequest=776&metric=new_duplicated_lines_density&view=list)  
     
   [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_dubbo-go-pixiu&pullRequest=776)
   
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [PR] feat: enhance upstream sync workflow configuration [dubbo-go-pixiu]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #776:
URL: https://github.com/apache/dubbo-go-pixiu/pull/776#issuecomment-3368095978

   ## [Codecov](https://app.codecov.io/gh/apache/dubbo-go-pixiu/pull/776?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 15.97%. Comparing base ([`26606a8`](https://app.codecov.io/gh/apache/dubbo-go-pixiu/commit/26606a8317ac79fb8ce826138a34908b62beae1c?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`5ee9395`](https://app.codecov.io/gh/apache/dubbo-go-pixiu/commit/5ee9395e1b0eccc386d5850e3c5f3f969b9f0c68?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :warning: Report is 70 commits behind head on develop.
   > :exclamation:  There is a different number of reports uploaded between BASE (26606a8) and HEAD (5ee9395). Click for more details.
   > 
   > <details><summary>HEAD has 1 upload less than BASE</summary>
   >
   >| Flag | BASE (26606a8) | HEAD (5ee9395) |
   >|------|------|------|
   >||1|0|
   ></details>
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@             Coverage Diff              @@
   ##           develop     #776       +/-   ##
   ============================================
   - Coverage    54.67%   15.97%   -38.70%     
   ============================================
     Files          671      220      -451     
     Lines        78658    16332    -62326     
   ============================================
   - Hits         43006     2609    -40397     
   + Misses       31981    13486    -18495     
   + Partials      3671      237     -3434     
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/dubbo-go-pixiu/pull/776/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [unittests](https://app.codecov.io/gh/apache/dubbo-go-pixiu/pull/776/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `15.97% <0.00%> (?)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/dubbo-go-pixiu/pull/776?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org