forked from mastodon/mastodon
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 823 Bytes
/
reviewer.yml
File metadata and controls
33 lines (31 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Cal PR Review
on:
workflow_dispatch:
inputs:
config:
type: string
description: "config for reviewer"
required: true
head:
type: string
description: "head commit sha"
required: true
base:
type: string
description: "base commit sha"
required: false
jobs:
review:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ inputs.head }}
- name: Run reviewer
uses: addnab/docker-run-action@v3
with:
image: callstackai/cal:latest
options: -v ${{ github.workspace }}:/code
run: |
/reviewer --dir /code --id ${{ github.run_id }} --token ${{ github.token }} --config "${{ inputs.config }}"