From 1d2e0d9f83930cce8446f8f71b8f4b56ffac04b5 Mon Sep 17 00:00:00 2001 From: "Steven Zimmerman, CPA" <15812269+EffortlessSteven@users.noreply.github.com> Date: Mon, 4 May 2026 02:45:58 -0400 Subject: [PATCH 1/2] feat: Add droid.yml workflow --- .github/workflows/droid.yml | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/droid.yml diff --git a/.github/workflows/droid.yml b/.github/workflows/droid.yml new file mode 100644 index 00000000..6dbbe661 --- /dev/null +++ b/.github/workflows/droid.yml @@ -0,0 +1,38 @@ +name: Droid Tag + +on: + issue_comment: + types: [created] + pull_request_review_comment: + types: [created] + issues: + types: [opened, assigned] + pull_request_review: + types: [submitted] + pull_request: + types: [opened, edited] + +jobs: + droid: + if: | + (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@droid')) || + (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@droid')) || + (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@droid')) || + (github.event_name == 'issues' && (contains(github.event.issue.body, '@droid') || contains(github.event.issue.title, '@droid'))) || + (github.event_name == 'pull_request' && (contains(github.event.pull_request.body, '@droid') || contains(github.event.pull_request.title, '@droid'))) + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + issues: write + id-token: write + actions: read + steps: + - name: Checkout repository + uses: actions/checkout@v5 + with: + fetch-depth: 1 + - name: Run Droid Exec + uses: Factory-AI/droid-action@main + with: + factory_api_key: ${{ secrets.FACTORY_API_KEY }} From 7bac5a0d8d0cbc98b2ad0bb69eb8a6e619c7d553 Mon Sep 17 00:00:00 2001 From: "Steven Zimmerman, CPA" <15812269+EffortlessSteven@users.noreply.github.com> Date: Mon, 4 May 2026 02:45:59 -0400 Subject: [PATCH 2/2] feat: Add droid-review.yml workflow --- .github/workflows/droid-review.yml | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/droid-review.yml diff --git a/.github/workflows/droid-review.yml b/.github/workflows/droid-review.yml new file mode 100644 index 00000000..7508412b --- /dev/null +++ b/.github/workflows/droid-review.yml @@ -0,0 +1,31 @@ +name: Droid Auto Review + +on: + pull_request: + types: [opened, ready_for_review, reopened] + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + droid-review: + if: github.event.pull_request.draft == false + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + issues: write + id-token: write + actions: read + steps: + - name: Checkout repository + uses: actions/checkout@v5 + with: + fetch-depth: 1 + - name: Run Droid Auto Review + uses: Factory-AI/droid-action@main + with: + factory_api_key: ${{ secrets.FACTORY_API_KEY }} + automatic_review: true + automatic_security_review: true