Overview
Codewolf Automations allow you to create intelligent, event-driven workflows that respond to code changes, quality metrics, and deployment events automatically.What are automations?
Automations are rules that trigger actions when specific conditions are met. They help you:- Enforce code quality standards automatically
- Notify teams of critical issues instantly
- Auto-assign reviewers based on code changes
- Create tickets for technical debt
- Update documentation automatically
- Trigger deployments based on quality gates
Creating automations
1
Define the trigger
Choose what event should start the automation.
2
Set conditions
Specify when the automation should run.
3
Configure actions
Define what should happen when conditions are met.
Automation types
Quality gates
Enforce quality standards before merging:Auto-assignment
Assign reviewers based on expertise:Issue creation
Automatically create issues for technical debt:Notifications
Send alerts to the right people:Deployment gates
Control when deployments can happen:Triggers
Available trigger events:Code events
pull_request.openedpull_request.updatedpull_request.mergedcommit.pushedbranch.created
Analysis events
code.scan.completedsecurity.scan.completedquality_score.changedtest_coverage.changed
Deployment events
deployment.starteddeployment.completeddeployment.failed
Issue events
security.vulnerability.detectedperformance.degradedcomplexity.increased
Conditions
Define when automations should run:Comparison operators
Pattern matching
Logical operators
Actions
Available actions:Notifications
- Slack: Send messages to channels
- Email: Send email notifications
- PagerDuty: Create incidents
- Webhook: Call custom endpoints
GitHub actions
- Comment: Add PR comments
- Status check: Set commit statuses
- Assign reviewers: Auto-assign based on files
- Create issue: Open GitHub issues
- Label: Add/remove labels
Deployment actions
- Approve deployment: Allow deployment to proceed
- Block deployment: Prevent deployment
- Trigger rollback: Initiate automatic rollback
Code actions
- Create branch: Create feature branches
- Auto-fix: Apply automatic fixes
- Format code: Run code formatters
Templates
Use templates for dynamic content:Scheduling
Run automations on a schedule:Best practices
Design effective automations:
- Start simple, iterate based on feedback
- Test automations in staging first
- Use clear, descriptive names
- Document automation purpose
- Monitor automation performance
Examples
Complete PR workflow
Monitoring automations
Track automation performance in the dashboard:- Execution history: See when automations ran
- Success rate: Track automation reliability
- Impact metrics: Measure effectiveness
- Error logs: Debug failed automations
Troubleshooting
Automation not triggering
Automation not triggering
- Verify trigger event matches expected event
- Check conditions are being met
- Review automation is enabled
- Check for conflicting automations
Incorrect conditions evaluation
Incorrect conditions evaluation
- Validate condition syntax
- Check operator precedence
- Test with known values
- Review template variable names
Actions not executing
Actions not executing
- Verify integration permissions
- Check action configuration
- Review error logs in dashboard
- Test actions individually

