Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

/docs/**/*.md @szaganek
/docs/**/*.mdx @szaganek
/.github/workflows/factory_review.yaml @mtrunkat
34 changes: 34 additions & 0 deletions .github/workflows/factory_review.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: apify-factory review (AI review, and auto-approval)

# Calls the review and auto-approval pipeline in apify/ai-developer. Approvals additionally need the
# repository's `factory_auto_approve` custom property set to true.
on:
# Taken from the default branch, never from the pull request, so a pull request cannot rewrite
# its own review pipeline. Pull request code is never checked out or executed.
pull_request_target:
types:
- review_requested
- review_request_removed
- converted_to_draft
- ready_for_review
- synchronize

permissions:
contents: read
pull-requests: write

jobs:
factory-review:
uses: apify/ai-developer/.github/workflows/_factory_review.yaml@main
secrets: inherit
# Paths never auto-approved here, on top of the pipeline's defaults. Proposed from the
# repository's layout when this workflow was added; edit them like any other code.
with:
policy: |
{
"denyGlobs": [
"src/apify/_charging.py",
"src/apify/_crypto.py",
".rules.md"
]
}
Loading