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.
1 parent f9fa7e5 commit edf97d9Copy full SHA for edf97d9
.github/workflows/main.yml
@@ -0,0 +1,21 @@
1
+name: Patchwork PRReview
2
+
3
+on:
4
+ pull_request:
5
+ branches: [main]
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
+ --pr_url=https://github.com/${{ github.repository }}/pull/${{ steps.findPr.outputs.number }}
0 commit comments