Added auto-merge note: "If all CI checks pass, this PR will be merged automatically."
New Workflow (4 manual steps, down from 7)
Create Vikunja task → GRM-N
Create .taskid file + branch + implement + PR
CI runs (quality, molecule, automated review)
All CI passes → auto-merge happens automatically
Post-merge runs (release, badges, vikunja, etc.)
Removed manual steps:
Review PR against checklist
Post APPROVE review with --checklist-confirmed
Add "ready-to-merge" label
Test Coverage
All 799 tests pass with 100% coverage. Net deletion: 1206 lines removed.
## Summary
Replaces the manual "ready-to-merge" label + APPROVE review workflow with automatic merging when CI passes.
## Changes
### New `.taskid` file support
- `auto_merge.py` reads task ID from `.taskid` file
- Falls back to branch name extraction for backwards compatibility
- Eliminates regex parsing of branch names as primary source
### Auto-merge moved to ci.yml
- New `auto-merge` job in `ci.yml` with `needs: [quality, detect-changes, pr-review]`
- Runs after all CI checks pass, squash-merges automatically
- No manual label or review needed — CI is the quality gate
- Removed `auto-merge.yml` workflow (replaced by ci.yml job)
### Dead code removal
- **`review_pr.py`** + tests: Manual review posting tool (no longer needed)
- **`REVIEW_CHECKLIST.md`**: Manual review checklist (no longer needed)
- **`LABEL_CONFIG`** + `ready-to-merge` label: No longer used
- **Label creation** removed from `configure_repo.py` (no more `tea` dependency)
- **`has_ready_to_merge_label()`**, `has_approval_review()`, `wait_for_ci()`** removed from `auto_merge.py`
### Updated `pr_review.py`
- Removed manual review instructions (REVIEW_CHECKLIST.md reference)
- Added auto-merge note: "If all CI checks pass, this PR will be merged automatically."
## New Workflow (4 manual steps, down from 7)
1. Create Vikunja task → GRM-N
2. Create `.taskid` file + branch + implement + PR
3. CI runs (quality, molecule, automated review)
4. **All CI passes → auto-merge happens automatically**
5. Post-merge runs (release, badges, vikunja, etc.)
### Removed manual steps:
- ~~Review PR against checklist~~
- ~~Post APPROVE review with --checklist-confirmed~~
- ~~Add "ready-to-merge" label~~
## Test Coverage
All 799 tests pass with 100% coverage. Net deletion: 1206 lines removed.
Documentation: WARNING — source files changed but no docs updated
Tests: OK
Commit conventions: OK
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: WARNING — source files changed but no docs updated
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emil
merged commit bfa3e99f75 into master2026-06-22 10:45:27 +00:00
emil
deleted branch GRM-60-automate-workflow2026-06-22 10:45:27 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Replaces the manual "ready-to-merge" label + APPROVE review workflow with automatic merging when CI passes.
Changes
New
.taskidfile supportauto_merge.pyreads task ID from.taskidfileAuto-merge moved to ci.yml
auto-mergejob inci.ymlwithneeds: [quality, detect-changes, pr-review]auto-merge.ymlworkflow (replaced by ci.yml job)Dead code removal
review_pr.py+ tests: Manual review posting tool (no longer needed)REVIEW_CHECKLIST.md: Manual review checklist (no longer needed)LABEL_CONFIG+ready-to-mergelabel: No longer usedconfigure_repo.py(no moreteadependency)has_ready_to_merge_label(),has_approval_review(),wait_for_ci()** removed fromauto_merge.pyUpdated
pr_review.pyNew Workflow (4 manual steps, down from 7)
.taskidfile + branch + implement + PRRemoved manual steps:
Review PR against checklistPost APPROVE review with --checklist-confirmedAdd "ready-to-merge" labelTest Coverage
All 799 tests pass with 100% coverage. Net deletion: 1206 lines removed.
Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.