Get Watchflow running in a few minutes: install the app, add .watchflow/rules.yaml, and verify with a PR or push. No new dashboards—everything stays in GitHub.
@watchflow acknowledge "reason" where the rule allows it..watchflow/rules.yaml on the default branch; rules are loaded from there via the GitHub API.Watchflow will start receiving webhooks. If there’s no .watchflow/rules.yaml yet, the first PR will get a welcome comment with a link to watchflow.dev (including installation_id and repo) so you can run repo analysis and create a rules PR without entering a PAT.
Option A — From the welcome comment (no PAT)
.watchflow/rules.yaml to a branch.Option B — Manual
Create .watchflow/rules.yaml in the repo root on the default branch, for example:
rules:
- description: "PRs must reference a linked issue (e.g. Fixes #123)"
enabled: true
severity: high
event_types: ["pull_request"]
parameters:
require_linked_issue: true
- description: "When a PR modifies paths with CODEOWNERS, those owners must be added as reviewers"
enabled: true
severity: high
event_types: ["pull_request"]
parameters:
require_code_owner_reviewers: true
- description: "No direct pushes to main - all changes via PRs"
enabled: true
severity: critical
event_types: ["push"]
parameters:
no_force_push: true
Parameter names must match the supported conditions; see Configuration for the full reference.
no_force_push).@watchflow acknowledge "Documentation-only change, no code impact"
(or @watchflow ack "…").| Command | Purpose |
|---|---|
@watchflow acknowledge "reason" / @watchflow ack "reason" |
Record an acknowledgment for a violation (when the rule allows it). |
@watchflow evaluate "rule in plain English" |
Ask whether a rule is feasible and get suggested YAML. |
@watchflow help |
List commands. |
Watchflow: the immune system for your repo. Rules in YAML, enforcement in GitHub.