-
Notifications
You must be signed in to change notification settings - Fork 168
[pull] develop from apache:develop #780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] develop from apache:develop #780
Conversation
add GitHub Actions workflow for automatic upstream sync
This is a test PR to verify the automatic sync workflow functionality. Expected behavior after merging to dubbo-go-pixiu/dubbo-go-pixiu:develop: 1. Workflow should trigger automatically 2. Create sync branch (auto-sync-YYYYMMDD-HHMMSS) 3. Rebase onto apache/dubbo-go-pixiu:develop 4. Remove fork-specific workflow files automatically 5. Create PR in apache/dubbo-go-pixiu 6. Comment on this PR with upstream link Success criteria: - Workflow runs without errors - Upstream PR created with this commit - Workflow files NOT present in upstream PR - Original commit author preserved Test Date: 2025-10-02 07:14:07 UTC
* test: verify upstream sync workflow This is a test PR to verify the automatic sync workflow functionality. Expected behavior after merging to dubbo-go-pixiu/dubbo-go-pixiu:develop: 1. Workflow should trigger automatically 2. Create sync branch (auto-sync-YYYYMMDD-HHMMSS) 3. Rebase onto apache/dubbo-go-pixiu:develop 4. Remove fork-specific workflow files automatically 5. Create PR in apache/dubbo-go-pixiu 6. Comment on this PR with upstream link Success criteria: - Workflow runs without errors - Upstream PR created with this commit - Workflow files NOT present in upstream PR - Original commit author preserved Test Date: 2025-10-02 07:14:07 UTC * fix: use pull_request_target to access secrets from fork PRs The pull_request event does not provide access to secrets when triggered by PRs from forks (security measure). Using pull_request_target instead, which runs in the context of the base repository and has access to secrets. This fixes the 'Input required and not supplied: token' error.
* test: verify upstream sync workflo * fix: use pull_request_target to access secrets from fork PRs The pull_request event does not provide access to secrets when triggered by PRs from forks (security measure). Using pull_request_target instead, which runs in the context of the base repository and has access to secrets. This fixes the 'Input required and not supplied: token' error. * fix: specify repository for PR comment in Step 9 When using pull_request_target, the workflow runs in the base repository context. We need to explicitly specify --repo parameter for gh pr comment to ensure it comments on the correct PR. Also added error handling to prevent workflow failure if commenting fails, since the main task (creating upstream PR) is already done. * fix: delete doc
* feat: enhance upstream sync workflow configuration * feat: refine upstream sync workflow conditions and cleanup steps * feat: add branch target check to upstream sync workflow
These files are specific to dubbo-go-pixiu/dubbo-go-pixiu organization fork and are not needed in the upstream repository. Files removed: .github/workflows/sync-to-upstream.yml .github/pull.yml
|
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## develop #780 +/- ##
============================================
- Coverage 54.67% 16.21% -38.46%
============================================
Files 671 224 -447
Lines 78658 16723 -61935
============================================
- Hits 43006 2712 -40294
+ Misses 31981 13750 -18231
+ Partials 3671 261 -3410
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🔄 Upstream Sync from Community Fork
This PR automatically syncs changes from the community fork to the Apache upstream repository.
Original Contribution
Original PR Description
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )
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 #8 was merged into
dubbo-go-pixiu/dubbo-go-pixiu:develop
.cc @pull[bot]