This directory contains all GitHub-specific configuration for the Orchestro CLI project.
.github/
βββ workflows/ # GitHub Actions workflows
β βββ ci.yml # Main CI/CD pipeline (testing, linting, coverage)
β βββ release.yml # Automated releases and PyPI publishing
β βββ codeql.yml # Security analysis with CodeQL
β βββ status-check.yml # Quick status validation
βββ ISSUE_TEMPLATE/ # Issue templates
β βββ bug_report.yml # Bug report form
β βββ feature_request.yml # Feature request form
βββ BADGES.md # Badge templates for README
βββ CI_CD_SETUP.md # Comprehensive CI/CD documentation
βββ CONTRIBUTING.md # Contribution guidelines
βββ PULL_REQUEST_TEMPLATE.md # PR template
βββ QUICKSTART_CI.md # Quick setup guide
βββ dependabot.yml # Automated dependency updates
βββ README.md # This file
- Quick Start Guide - Get CI/CD running in 5 minutes
- Full Documentation - Comprehensive setup and configuration
- Contributing - How to contribute to the project
- Badges - Add status badges to README
The main pipeline runs on every push and pull request:
- Linting: Black formatting, MyPy type checking
- Testing: Multi-platform (Ubuntu, macOS, Windows) Γ Multi-version (Python 3.8-3.11)
- Coverage: pytest with coverage reporting, Codecov integration
- Building: Package build and installation verification
- Integration: End-to-end testing with examples
- Security: Dependency vulnerability scanning
Automated releases triggered by version tags:
- Creates GitHub releases with auto-generated notes
- Builds distribution packages (wheel and sdist)
- Publishes to PyPI using trusted publishing
- Attaches build artifacts to releases
Trigger: git tag v1.0.0 && git push origin v1.0.0
Security and code quality scanning:
- Static analysis for Python code
- Security vulnerability detection
- Runs on push, PR, and weekly schedule
- Results visible in Security tab
Quick validation for rapid feedback:
- Fast smoke tests
- Critical file verification
- Installation validation
- Runs in under 5 minutes
Automated dependency management configured in dependabot.yml:
- GitHub Actions: Weekly updates on Mondays
- Python Dependencies: Weekly updates with grouped PRs
- Auto-labeling:
dependencies,github-actions,python
Two structured forms for better issue reporting:
-
Bug Report (
bug_report.yml)- Detailed reproduction steps
- Environment information
- Scenario file attachment
-
Feature Request (
feature_request.yml)- Problem statement
- Proposed solution
- Example usage
- Priority indication
Comprehensive PR template with:
- Change description and type
- Testing checklist
- Documentation requirements
- Code quality verification
- Breaking change documentation
- Read CONTRIBUTING.md
- Set up development environment
- Run tests locally before pushing
- Use PR template when submitting changes
- Follow QUICKSTART_CI.md to enable workflows
- Configure branch protection rules
- Set up Codecov integration (optional)
- Configure PyPI trusted publishing (for releases)
- Build Success Rate: Target >95%
- Test Coverage: Target >80%
- Security Issues: Address within 7 days
- Dependency Updates: Review weekly
- Actions Tab: Workflow runs and logs
- Security Tab: CodeQL alerts and Dependabot
- Insights Tab: Contributor activity and metrics
- Pull Requests: Automated checks and reviews
pytest.ini: pytest configuration with coverage settings.coveragerc: Coverage reporting configurationpyproject.toml: Package metadata and dependencies
All workflows use:
env:
FORCE_COLOR: 1 # Colored output in CI logsCODECOV_TOKEN: For coverage reporting (recommended)GITHUB_TOKEN: Automatically provided by GitHub
pypi: For release publishing (requires setup)
- CodeQL scanning on all PRs
- Weekly scheduled security scans
- Dependabot security updates
- No long-lived credentials required
- OIDC/Trusted publishing for PyPI
- Minimal secret usage
- Scoped GitHub tokens
- Environment protection rules
Need help with CI/CD setup?
- Check CI_CD_SETUP.md for detailed docs
- Review workflow logs in Actions tab
- Open an issue using bug report template
- Tag with
ci-cdlabel
- v1.0.0 (2025-11-13): Initial comprehensive CI/CD setup
- Multi-platform testing matrix
- Coverage reporting and badges
- Security scanning integration
- Automated release pipeline
- Community templates
Maintained by: Orchestro CLI Contributors Last Updated: 2025-11-13