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 34626b8 commit cc509bfCopy full SHA for cc509bf
.github/workflows/reviewer.yml
@@ -0,0 +1,33 @@
1
+name: Cal PR Review
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ config:
7
+ type: string
8
+ description: "config for reviewer"
9
+ required: true
10
+ head:
11
12
+ description: "head commit sha"
13
14
+ base:
15
16
+ description: "base commit sha"
17
+ required: false
18
+jobs:
19
+ review:
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v4
24
+ with:
25
+ ref: ${{ inputs.head }}
26
27
+ - name: Run reviewer
28
+ uses: addnab/docker-run-action@v3
29
30
+ image: callstackai/cal:latest
31
+ options: -v ${{ github.workspace }}:/code
32
+ run: |
33
+ /reviewer --dir /code --id ${{ github.run_id }} --token ${{ github.token }} --config "${{ inputs.config }}"
0 commit comments