Overview
Orphelix integrates with GitHub to create and manage Pull Requests (PRs) directly from the dashboard. This enables a complete GitOps workflow where infrastructure changes go through code review before being applied to your cluster.
What are Pull Requests?
Pull Requests (PRs) are a GitHub feature for:Code Review
Team reviews changes before merging
Discussion
Discuss changes, suggest improvements
CI/CD Integration
Automated tests run on PR changes
Audit Trail
Track who changed what and when
Creating Pull Requests
From YAML Editor
Most common method - edit manifests and create PR:1
Edit YAML
Use YAML Editor to modify deployment/configSee YAML Editor for details
2
Review Changes
Check diff to ensure changes are correct

3
Add Commit Message
Write clear, descriptive message:
4
Select Target Branch
Choose where to merge changes:
- Main/Master
- Staging
- Custom
Default production branchMost common choice
5
Create PR
Click “Create Pull Request”Orphelix:
- Creates feature branch
- Commits your changes
- Opens PR on GitHub
- Returns PR link
Multi-file Pull Requests
Create PRs affecting multiple files:
Use cases:
- Update ConfigMap + Deployment (apply both changes together)
- Kustomize base + overlay modifications
- Coordinated changes across microservices
1
Select Multiple Files
In Repository Browser, select files with Ctrl+Click
2
Edit Each File
Make changes to all selected files
3
Review All Changes
Diff view shows all modified files
4
Single Commit
All changes in one commit, one PR
From Repository Browser
Browse and edit repository files directly:1
Open Repo Browser
Navigate to Repository Browser page
2
Select Repository
Choose GitHub repository from dropdown
3
Browse Files
Navigate file tree to find target file
4
Edit File
Click file, then Edit button
5
Save and Create PR
Save changes → Auto-creates PR
PR Templates
Orphelix generates structured PR descriptions:Default Template
Custom Templates
Configure custom PR templates in your repository:- Create
.github/pull_request_template.md - Orphelix uses it automatically
- Override with custom message if needed
Managing Pull Requests
Viewing PRs
See all PRs created through Orphelix:
PR Information:
- Title: PR description
- Status: Open, Merged, Closed
- Author: Who created PR
- Created: When PR was opened
- Labels: GitHub labels
- Reviews: Review status
- Checks: CI/CD status
PR Status Indicators
Open
Open
Color: BlueMeaning: PR awaiting review/mergeActions:
- Review changes
- Request reviews
- Merge when ready
Merged
Merged
Color: PurpleMeaning: PR successfully mergedTimeline:
- Changes now in target branch
- ArgoCD/Flux will sync
- Changes apply to cluster
Closed
Closed
Color: RedMeaning: PR closed without mergingReasons:
- Changes no longer needed
- Superseded by another PR
- Incorrect approach
Conflicts
Conflicts
Color: OrangeMeaning: Merge conflicts existAction required:
- Resolve conflicts on GitHub
- Update branch from base
- Push resolution
Review Status
PRs show review state:- Pending
- Approved
- Changes Requested
- Commented
Icon: ⏳No reviews yetActions:
- Request reviews from team
- Self-review if allowed
CI/CD Checks
View automated check status:
Common Checks:
YAML Lint
YAML Lint
Validates YAML syntaxPass: ✅ Valid YAML
Fail: ❌ Syntax errors
Policy Validation
Policy Validation
Checks against policies (OPA, Kyverno)Pass: ✅ Complies with policies
Fail: ❌ Policy violations
Integration Tests
Integration Tests
Runs automated testsPass: ✅ Tests passed
Fail: ❌ Tests failed
Security Scan
Security Scan
Scans for vulnerabilitiesPass: ✅ No vulnerabilities
Fail: ❌ Security issues found
PR Actions
Merging
Merge PR to apply changes:1
Ensure Approved
Required reviews completed
2
Check Status Checks
All CI/CD checks passed
3
Click Merge
In GitHub or Orphelix PR view
4
Select Merge Method
- Merge Commit
- Squash & Merge
- Rebase & Merge
Creates merge commit (default)Preserves full history
5
Confirm Merge
Changes merged to target branchGitOps operator (ArgoCD/Flux) syncs changes
Closing without Merging
Close PR if changes not needed:1
Add Comment
Explain why closing:
2
Click Close
PR closed but not deleted
3
Optional: Delete Branch
Clean up feature branch
Updating PRs
Update PR with new commits:- From Orphelix
- From Git
- Re-open YAML editor
- Make additional changes
- Save → Commits to same branch
- PR automatically updates
GitOps Workflow
Complete deployment flow with PRs:Integration with GitOps Tools
- ArgoCD
- Flux
- Manual
Auto-sync on PR merge:
- PR merged to main
- ArgoCD detects change
- Compares with cluster state
- Syncs new manifests
- Updates deployment
Best Practices
Require Reviews
Require Reviews
Configure branch protection:
Run CI Checks
Run CI Checks
Automate validation:
Use Semantic Commits
Use Semantic Commits
Follow conventional commits:
Link Issues
Link Issues
Reference related issues:Auto-closes issues on merge
Test in Staging
Test in Staging
Deploy to staging before production:
- Create PR to staging branch
- Merge and test
- Create PR from staging to main
- Merge to production
Small PRs
Small PRs
Keep PRs focused:✅ One logical change per PR
❌ Multiple unrelated changesEasier to review and safer to merge
Troubleshooting
PR Creation Failed
Symptom: “Failed to create PR” Check:-
Permissions
- Orphelix App has write access?
- Repository not archived?
-
Branch Conflicts
- Branch already exists?
- Try different branch name
-
GitHub API Limits
- Rate limit exceeded?
- Wait 1 hour and retry
Merge Conflicts
Symptom: PR shows conflicts Resolution:1
View Conflicts
Click “Resolve conflicts” on GitHub
2
Choose Resolution
- Accept Theirs
- Accept Yours
- Manual Edit
Keep base branch version
3
Mark Resolved
Click “Mark as resolved”
4
Commit Resolution
Commit merge resolution
CI Checks Failing
Symptom: PR blocked by failed checks Solutions:-
Review Check Logs
- Click “Details” next to failed check
- Read error messages
- Fix issues
-
Common Failures
- YAML Lint: Fix syntax errors
- Policy: Adjust to meet policies
- Tests: Fix broken tests
- Security: Update vulnerable images
-
Re-run Checks
- Push new commit
- Or click “Re-run checks”