Repository navigation
Commit 53a9954
authored
ci: add the apify-factory review workflow (#1130)
Lets apify-factory review pull requests here and approve the trivial
ones.
- Requesting `apify-factory` as a reviewer runs an AI review; when every
gate passes, the review finds nothing and a second model agrees, it
approves instead of commenting.
- A push that changes the code, removing the request, or going back to
draft withdraws the bot's own approval.
- This repository's `factory_auto_approve` property is true, which is
what allows approvals, and mtrunkat becomes the code owner of the
workflow file.
- These paths are never auto-approved here, on top of the defaults every
repository has. An agent proposed them from the repository's layout;
edit the list in the workflow like any other code.
| Path | Why | Files |
| --- | --- | --- |
| `src/apify_client/_models.py` | Pydantic models auto-generated by
datamodel-codegen from the Apify OpenAPI spec; must change only via the
generator, never by hand. | 1 |
| `src/apify_client/_typeddicts.py` | TypedDicts auto-generated from the
Apify OpenAPI spec and postprocessed; must change only via the
generator, never by hand. | 1 |
| `src/apify_client/_literals.py` | Literal types auto-generated by the
model postprocessing script from the OpenAPI spec; must change only via
the generator, never by hand. | 1 |
Refs
https://github.com/apify/ai-developer/blob/main/actions/auto-approve/README.md1 parent ed8c25d commit 53a9954
2 files changed
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
0 commit comments