We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e10b0bd + 9667eec commit 6ad7c13Copy full SHA for 6ad7c13
.github/workflows/main.yml
@@ -0,0 +1,22 @@
1
+name: Patchwork PRReview
2
+
3
+on:
4
+ pull_request:
5
+ branches: [master]
6
+jobs:
7
+ review:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ pull-requests: write
11
+ steps:
12
13
+ - uses: jwalton/gh-find-current-pr@master
14
+ id: findPr
15
16
+ - name: PR Review
17
+ run: |
18
+ pip install patchwork-cli
19
+ patchwork PRReview --log debug \
20
+ --openai_api_key=${{ secrets.OPENAI_KEY }} \
21
+ --github_api_key=${{ github.token }} \
22
+ --pr_url=https://github.com/${{ github.repository }}/pull/${{ steps.findPr.outputs.number }}
0 commit comments