Skip to content

Add GitHub Actions workflow for syncing fork branches and update dependencies - #277

Open
mercyblitz wants to merge 7 commits into
microsphere-projects:release-1.xfrom
mercyblitz:dev-1.x
Open

Add GitHub Actions workflow for syncing fork branches and update dependencies#277
mercyblitz wants to merge 7 commits into
microsphere-projects:release-1.xfrom
mercyblitz:dev-1.x

Conversation

@mercyblitz

Copy link
Copy Markdown
Contributor

This pull request introduces a new GitHub Actions workflow to automatically sync branches from the upstream repository and updates project dependency versions for improved compatibility and stability.

CI/CD Automation:

  • Added .github/workflows/sync-branches-from-upstream.yml, a workflow that automatically syncs all branches in the forked repository from the upstream repository every 5 minutes or on pushes to main development branches. The workflow ensures only branches that exist in both fork and upstream are synced, and skips branches that are ahead in the fork to prevent overwriting changes.

Dependency Version Updates:

  • Updated microsphere-java to version 0.3.18 and microsphere-logging to version 0.2.1 in microsphere-spring-parent/pom.xml for the latest bug fixes and features.
  • Updated the parent build version to 0.3.14 in pom.xml for improved build tooling and dependency management.

github-actions Bot and others added 7 commits August 3, 2026 05:57
Introduce a new GitHub Actions workflow that keeps fork branches aligned with their upstream parent. It first checks whether the repo is a fork, then fetches origin/upstream and syncs matching branches only when safe: branches missing in upstream, already up to date, or ahead in the fork are skipped. The workflow runs on pushes to main/dev/dev-1.x and every 5 minutes, and reports synced/skipped/failed counts with a non-zero exit on push failures.
Updates the Maven parent POM version in `pom.xml` from `0.3.11` to `0.3.12` to align this project with the latest shared build configuration.
Update the project parent POM to the newer microsphere-build release 0.3.14. This keeps the build aligned with the latest parent configuration and dependency management.
Update the parent Maven configuration to use microsphere-java 0.3.18 instead of 0.3.17. This keeps the project aligned with the latest upstream dependency version.
Update the parent BOM to use microsphere-logging 0.2.1 instead of 0.2.0. This brings in the newer logging dependency version for compatibility and fixes included in the upstream release.
Update the parent POM to use Jackson 2.22.2 instead of 2.21.3. This keeps the project aligned with the newer upstream dependency version.
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant