Skip to main content
Back

Create your own automation

Write instructions once and let a schedule or a repository event start the run.

Any member of the organization can create an automation. Only its creator, an owner, or an admin can change it.

How do I create one?

  1. Open Automations and select New automation, or pick one under Start from a template.
  2. Give it a Name, choose what it Works on, and write its Instructions.
  3. Under Triggers, select Add trigger and choose when it starts.
  4. Select Save, then turn on Active.

Select Test to run it once, now, before you turn it on. Save your changes first. A template starts turned off, with no repository chosen.

Works on lists GitHub and GitLab repositories that have runs turned on, and projects.

What can start an automation?

  • On a schedule: every day or every week, at a time in your timezone. It makes changes and opens a draft pull request.
  • From a pull request: when one opens, or on every push to it. Turn on Review drafts to include drafts.
  • When CI fails on a pull request
  • When an issue gets a label: enter the label's name as it appears on GitHub.

An automation can have up to 5 triggers.

What can it use?

  • Model: the model its runs use. See Models for automations.
  • Tools: connector tools its runs can call. With Every tool its creator allows on, its runs can call every tool its creator allowed under Connectors. Turn it off to pick tools one by one. Git and shell follow each repository's settings.

How long can the instructions be?

Up to 8,000 characters. The name can be up to 80.

How do I change or delete one?

Open it and select Edit. To delete it, hold Hold to delete automation until it completes. Its runs stay, listed as runs started by hand.