branch: elpa/aidermacs
commit 0cf26f7246e4b856ad23250294097f1afb798b9a
Merge: 15a01a9b42 7576735dcb
Author: Matthew Zeng <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #64 from philip-zhan/setup-doctor-pr
    
    Setup Doctor PR
---
 .github/workflows/doctor-pr.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/.github/workflows/doctor-pr.yml b/.github/workflows/doctor-pr.yml
new file mode 100644
index 0000000000..d2068af04a
--- /dev/null
+++ b/.github/workflows/doctor-pr.yml
@@ -0,0 +1,32 @@
+name: Doctor PR
+on:
+  workflow_dispatch:
+    inputs:
+      base_branch_name:
+        required: true
+        type: string
+      base_pull_request_number:
+        required: true
+        type: string
+      review_id:
+        required: true
+        type: string
+      author_username:
+        required: true
+        type: string
+      aider_args:
+        required: true
+        type: string
+jobs:
+  doctor-pr:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Doctor PR
+        uses: Doctor-PR/[email protected]
+        with:
+          base_branch_name: ${{inputs.base_branch_name}}
+          base_pull_request_number: ${{inputs.base_pull_request_number}}
+          review_id: ${{inputs.review_id}}
+          author_username: ${{inputs.author_username}}
+          aider_args: ${{inputs.aider_args}}
+          aider_api_key: ${{secrets.ANTHROPIC_API_KEY}}

Reply via email to