This directory contains automated workflows for the Kempt project.
Automatically syncs changes from the upstream prettier-java repository.
- Schedule: Runs every Monday at 9 AM UTC
- Manual trigger: Can be triggered manually with custom branch selection
- Features:
- Fetches latest changes from upstream
- Creates a new branch with merged changes
- Opens a Pull Request automatically
- Detects and reports merge conflicts
- Creates issues for conflicts requiring manual resolution
Monitors the upstream repository for activity and new releases.
- Schedule: Runs daily at 8 AM UTC
- Manual trigger: Can be triggered manually
- Features:
- Checks for new releases and creates tracking issues
- Monitors commit activity over the last 7 days
- Creates weekly summary reports for high-activity periods
- Helps maintain awareness of upstream development
Both workflows use the default GITHUB_TOKEN and require the following repository permissions:
contents: write- For creating branches and pushing changespull-requests: write- For creating pull requestsissues: write- For creating issues and summaries
To manually trigger a sync:
- Go to Actions tab
- Select "Sync with Upstream"
- Click "Run workflow"
- Optionally specify a different branch to sync from
- Click "Run workflow"
When conflicts are detected:
- A PR will be created with partial changes
- An issue will be created highlighting the conflicts
- Check out the branch locally to resolve conflicts
- Push resolved changes back to the PR
- Merge when ready
These workflows sync with: https://github.com/jhipster/prettier-java