You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ feat: migrate approval automation from JavaScript to Python with Click CLI
- Convert ApprovalManager class from JavaScript to Python using PyGithub
- Replace Node.js dependencies with Python uv environment management
- Implement Click-based CLI interfaces for all three approval types:
- SIG proposals: requires 2 core team approvals
- RFC proposals: requires core team quorum
- Pipeline proposals: requires 2 core OR 1 core + 1 maintainer
- Migrate Jest test suite to pytest with comprehensive coverage (21/21 tests)
- Update GitHub Actions workflows to use Python scripts with CLI parameters
- Replace package.json with pyproject.toml for modern Python packaging
- Update documentation to reflect Python-based automation system
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: .github/workflows/lib/README.md
+80-19Lines changed: 80 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,18 @@
1
1
# GitHub Approval Automation
2
2
3
-
This module contains the `ApprovalManager` class used by GitHub Actions workflows to automate the approval process for pipeline proposalsand RFCs.
3
+
This module contains the `ApprovalManager` class and CLI scripts used by GitHub Actions workflows to automate the approval process for pipeline proposals, RFCs, and SIG proposals.
4
4
5
5
## Files
6
6
7
-
-`approval.js` - The main ApprovalManager class
8
-
-`approval.test.js` - Unit tests for ApprovalManager class
9
-
-`workflow-integration.test.js` - Integration tests for complete workflow scenarios
10
-
-`package.json` - Node.js package configuration with Jest setup
7
+
-`approval.py` - The main ApprovalManager class (Python)
8
+
-`scripts/` - Click-based CLI scripts for different proposal types
0 commit comments