Skip to content

ci: sync main and docs branches to Gitee - #5625

Merged
yanglbme merged 1 commit into
mainfrom
ci/sync-gitee-branches
Sep 12, 2026
Merged

ci: sync main and docs branches to Gitee#5625
yanglbme merged 1 commit into
mainfrom
ci/sync-gitee-branches

Conversation

@yanglbme

Copy link
Copy Markdown
Member

Summary

Add sync-gitee.yml so a push to main force-pushes the same branch to Gitee, without holding the deploy-site lock.

  • Mirrors only main or docs (never Gitee pages)
  • docs pushes are handled by a follow-up PR that dispatches this workflow

Type

  • Other

Checklist

For new or updated solutions:

  • README.md / README_EN.md follow solution/template.md
  • If a Thinking block is added, it sits after the method heading, is non-empty, and matches the code in the repo (naive idea vs constraints, bottleneck, key observation, why this method). Thinking is optional.
  • All languages implement the same algorithm; unrelated Solution.* files and code tabs are unchanged
  • Code is formatted as described in AGENTS.md

Test plan

  • Merge this PR before the docs trigger PR
  • Push (or re-run) on main and confirm Gitee main moves to the same SHA
  • Confirm a running sync-gitee does not queue deploy.yml

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI lite review requested due to automatic review settings September 12, 2026 10:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@idoocs idoocs added core team Issues or pull requests from core team md Issues or Pull requests relate to .md files yml Issues or Pull requests relate to .yml files labels Sep 12, 2026
@yanglbme
yanglbme merged commit b9e6e13 into main Sep 12, 2026
3 checks passed
@yanglbme
yanglbme deleted the ci/sync-gitee-branches branch September 12, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core team Issues or pull requests from core team md Issues or Pull requests relate to .md files yml Issues or Pull requests relate to .yml files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants