Use GitHub when an AI employee needs an existing codebase or your team keeps documents in a repository. For standalone drafts without GitHub, choose an artifact workspace instead.
Choose a repository
Select Repository task, enter the repository’s HTTPS GitHub URL, and choose the branch to work from. Ask your administrator to configure access for a private repository. Never put a password or token in the URL.
Start with a small change you can inspect easily. Leave Create pull request off while you learn the workflow.
Open a pull request
- Turn on Create pull request when you want the completed changes proposed on GitHub.
- Review and approve the initial task request. This starts the work, not publication.
- Inspect the returned files, diff, and checks.
- Review the separate publication approval for the completed changes.
- After approving publication, open the returned pull request link and verify the result.
Neither running the task nor publishing the pull request approves a merge. See Pull request review for review options.
Check the result
Read the actual diff, especially deletions, renamed files, and file permissions. Large results may be incomplete; check any limits or errors before adopting the work.
Request work from events
Your administrator can connect GitHub events to automations. An event requests the configured workflow; it is not permission to run arbitrary work.
For repository access, publishing limits, and event setup, see GitHub setup.