Automations Cookbook
Deployment promotion
Auto-promote staging deploys to production
rules:
- staging-promotion:
conditions:
- environment='Staging'
- health='Healthy'
- deployed_for>='5m'
actions:
- auto_approve_build: 'test-and-deploy'Auto-promote quickfix staging deploys to production
rules:
- quick-fixes:
conditions:
- environment='Staging'
- pr_labels='quickfix'
actions:
- auto_approve_build: 'test-and-deploy'Auto-approve a specific job
Slack approvals-based promotion
Auto-promote after soak time
Separate approval workflow for third-party PRs (coming soon)
Deployment notifications
Custom message to author when deploy is unhealthy
Notify the project lead on certain deploys (coming soon)
Notify key issues on certain deploys (currently for Jira and Linear only)
Notify support team on bugs and new features that impact them (coming soon)
Notify in Slack when drift is too high
Notify an internal app when code is deployed
Deployment miscellaneous
Transition issues on deploy (currently for Jira and Linear only)
Create revert PR when unhealthy (coming soon)
Create backport PR on deploy (coming soon)
Slow rollout of feature flags after delivery (coming soon)
Last updated
Was this helpful?