---
title: "Comma for GitHub and CI Loops · Comma Blog"
description: "Ask Comma in chat to write a Loop that watches repositories for billing changes, failed checks, or release regressions — waking a Worker only when your condition fires."
url: https://comma.surf/blog/comma-for-github-loops
language: en
---

[Back to blog](https://comma.surf/blog)

Comma Team · November 23, 2026 · 1 min read

# Comma for GitHub and CI Loops

Ask Comma in chat to write a Loop that watches repositories for billing changes, failed checks, or release regressions — waking a Worker only when your condition fires.

[Get started](https://app.comma.surf/) [Read the docs](https://comma.surf/docs/salix/loops)

Most engineering alert fatigue comes from blunt tools: GitHub emails you on every comment, Slack bots fire on every green build, and cron-based AI scripts burn tokens every ten minutes just to conclude *“nothing happened”*.

With **Salix Loops**, you describe the exact repository condition you care about in plain English. Comma compiles a lightweight Loop that runs continuously on Salix and **wakes a Worker only when your rule actually triggers**.

## How a GitHub Loop works

1. Connect **GitHub** in `Plugins` (and **Slack** or **Linear** if you want alerts routed to a channel or issue).
2. State the watch condition and the action in your Router chat.
3. Comma writes the Loop, displays the exact logic, and creates an **On updates** Task in your Tasks rail.
4. Until the condition fires, no large model is invoked. When it fires, a Worker runs your investigation and reports back.

## Four high-signal GitHub Loops

### 1. High-risk path watcher (billing, auth, migrations)

text

```
Watch acme/api on GitHub. Wake me only when a pull request modifies
files under billing/, auth/, or priv/repo/migrations/. Summarize what
changed, check whether a migration manifest or test was included, and
ping me in chat.
```

You review critical surfaces immediately without reading every UI tweak in the repo.

The Loop stays quiet until a pull request touches a risky path, then explains the risk.

### 2. Mainline CI failure investigator

text

```
Watch the main branch workflows on acme/api. Ignore canceled runs.
If a required job fails on main, pull the failing step log, identify
the likely breaking commit from the last 5 merges, and open a thread
in #eng-ci with the exact error and suspected PR.
```

Instead of a raw red Slack alert that forces someone to click through 4,000 lines of logs, the team gets the failing assertion and commit diff in 60 seconds.

### 3. Dependency and security advisory watch

text

```
Every weekday morning, check Dependabot and security PRs across
acme/api and acme/web. Group safe patch bumps separately from major
upgrades, check if CI passed on each, and line up a single review list
in my morning Routine.
```

### 4. Post-merge release tracker

text

```
Watch our release workflow after a PR with label "customer-facing"
merges to main. Wait until the production deployment check turns
green, then draft a short release note with the PR link and put it
in Needs Review before posting to #changelog.
```

## Editing, pausing, or retiring Loops

Every Loop lives as a visible **On updates** Task:

- Open the Task to inspect its trigger history and exact code.
- Tell Comma *“Tighten the billing Loop to ignore changes inside test fixtures”* to update the filter in place.
- Tell Comma *“Pause the release Loop until Monday”* or cancel the Task when a migration or launch ends.

## Best practices for clean Loops

- **Filter narrowly first**: Match by repo, path prefix, label, or failure state before waking an LLM.
- **Separate observation from action**: Let the Loop investigate, summarize, and open *draft* PRs or issues; keep merges, rollbacks, and external announcements in **Needs Review**.
- **Pair with a morning Routine**: Send urgent failures (`main` red, billing diff) immediately; batch non-urgent repo summaries into your 8:30 AM Routine.

**Next up:** [Comma for On-Call and Bug Triage](https://comma.surf/blog/comma-for-on-call) · [Self-Hosting Comma and BYOK](https://comma.surf/blog/self-hosting-comma)

Guides

[Back to blog](https://comma.surf/blog)

Share

## Related posts

December 3, 2026

### [Comma 101](https://comma.surf/blog/comma-101)

December 2, 2026

### [Comma for Admins](https://comma.surf/blog/comma-for-admins)

December 1, 2026

### [Comma in Your Chat Apps](https://comma.surf/blog/comma-in-your-chat-apps)

## Try Comma, Now.

[Get started](https://app.comma.surf/)
