Routine templates

CI failure digest

See whether the main branch is healthy at the end of the day and which failures repeat.

The short answer

Lists today's failed workflow runs on the main branch and separates real failures from flaky ones. Run it every weekday at 18:00 on a bot that can read GitHub. It writes a draft in the routine's thread and waits for you. It does not send, post or change anything on its own.

The routine at a glance

FieldWhat to enter
NameCI failure digest
BotEngineering, or any bot of yours that can use the connectors below
Schedule0 18 * * 1-5 (every weekday at 18:00)
TimezoneYour own IANA zone, for example America/New_York or Asia/Kolkata
ReadsGitHub
ResultA draft in the routine's own thread with the bot
CategoryEngineering

The prompt

Paste it as the routine prompt. Replace each part in [brackets] with your own. The last paragraph keeps the routine to drafting.

In [repos], list GitHub Actions runs on [default branch] that failed today. For each, give the workflow, the failing job and step, and the first lines of the error. Mark a failure as likely flaky when the same job passed on a rerun or failed the same way on unrelated commits this week.

Write the result here as a draft for me to review. Do not send, post, publish or message anyone, and do not create, change or delete any record. If a source fails or is empty, name it and continue with the rest.

Set it up

  1. Make sure your workspace has GitHub connected and that this bot can use it. Scheduled runs use team connectors, not personal ones.
  2. Open a chat with the bot, paste the prompt, replace each part in [brackets] and run it once. Adjust the prompt until the draft is what you want.
  3. Ask the bot to make it a routine that runs every weekday at 18:00. It shows the name, prompt and schedule on a card and you confirm. You can also add it under Automations in the app with the Weekdays preset.
  4. Read the first scheduled run in the routine's thread and tighten the prompt if needed.

What it will not do

Fill in the brackets

Limits that apply

Questions

Can I install a template in Bello Bot with one click?

No. These are written templates. Copy the prompt and the schedule into a chat with your bot, or add the routine under Automations in the app.

Will this routine send or post anything for me?

No. The prompt tells the bot to write a draft and change nothing, and a scheduled run cannot get an approval. You read the draft and decide what to do.

Does it read anyone's personal messages?

No. A scheduled run uses your workspace's team connectors, not anyone's personal connectors. This template reads GitHub.

How often can a routine run?

At most every 15 minutes. Up to 20 routines can be enabled in an org at once, and a routine pauses after 10 failed runs in a row.

Keep reading

Try Bello Bot with your team

Public beta. Bring your own model keys, invite your team, and approve what your bots do.