Recently
autodev.yml is renamed to devbird.yml because the product is
rebranded. But for backward compatibility, autodev.yml will just work as
before.Prerequisites
Before you begin, ensure you have:- Completed the GitHub App installation
- Admin or write access to your repository
- Required secrets configured in your GitHub repository
Setting up the workflow
Follow these steps to add the DevBird workflow to your repository:1. Create the workflow file
Create a new file at.github/workflows/devbird.yml in your repository.
2. Add the workflow configuration
Copy the following YAML configuration into the file:3. Customize the setup steps
The workflow includes a setup step that you should customize for your repository:For example, the Delino monorepo includes steps for
- installing protoc for RPC definitions
- installing golang for backend servers
- installing nodejs for next.js apps
- fetching environment variables for development environment
4. Filter environment variables for security
Delino’s official repositories use a filtering approach to ensure only safe environment variables are available during DevBird execution. Add a filtering step in your setup to restrict which environment variables the AI agent can access:.env file to only include variables with these prefixes:
NEXT_PUBLIC_: Variables that are meant to be publicly exposed (e.g., for Next.js client-side code)TEST_: Variables used for E2E testing, which have minimal security risk if leaked
DEVBIRD environment variable (set to 1 in the workflow configuration) triggers this filtering behavior, ensuring your sensitive credentials remain protected.
You can customize the filtering pattern to match your project’s naming conventions. The key is to only expose environment variables that are safe for the AI agent to access.
5. Configure DELINO_ACCESS_TOKEN
Create a new API key following the guide at Creating API Keys and add it as a repository secret on GitHub settings.
6. Commit to your main branch
Commit the workflow file to your repository’s main branch:Understanding workflow execution
Important: Workflow runs on the main branchFor security reasons, the DevBird GitHub Action always executes on your repository’s default branch (typically
main). This means:- The workflow runs from the main branch codebase
- GitHub Actions logs will show the workflow running on
main - This is by design to prevent security vulnerabilities
base_branch parameter controls which branch DevBird uses as the base when creating new feature branches, but the workflow execution itself always happens on the default branch.- Malicious workflow modifications in feature branches
- Unauthorized access to repository secrets
- Tampering with the DevBird workflow configuration
