From 7ac92e8d523b1f618c49a7e7d528a9559743d73f Mon Sep 17 00:00:00 2001 From: markattar-factory Date: Sun, 14 Jun 2026 22:32:51 -0700 Subject: [PATCH] feat: add .github/workflows/factory-code-review.yml (Factory automation) --- .github/workflows/factory-code-review.yml | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/factory-code-review.yml diff --git a/.github/workflows/factory-code-review.yml b/.github/workflows/factory-code-review.yml new file mode 100644 index 0000000..02e29f7 --- /dev/null +++ b/.github/workflows/factory-code-review.yml @@ -0,0 +1,26 @@ +# factory-automation: 51cfbc93-f0f2-47cd-b241-9cfb69b0640f +name: Code Review +"on": + workflow_dispatch: {} + pull_request: + types: + - opened +permissions: + contents: read + pull-requests: write + issues: write +jobs: + run: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Run Factory droid-action + uses: Factory-AI/droid-action@main + with: + org_id: ${{ secrets.FACTORY_ORG_ID }} + api_key: ${{ secrets.FACTORY_API_KEY }} + automatic_review: true + automatic_security_review: true + reasoning: low + prompt: Automatic code review with security review enabled on pull requests.