forked from AdWerx/pronto-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
35 lines (35 loc) · 1.01 KB
/
action.yml
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
34
35
name: Pronto Ruby by Chargify
author: [email protected]
description: Your all-in-one Pronto ruby code review automation. Forked by Chargify to leverage newest rubocop.
branding:
icon: code
color: red
inputs:
runners:
description: >-
Space-separated list of pronto runners to run.
Must be the preinstalled runners (ruby only).
required: false
default: >-
rubocop
target:
description: >-
The git object to diff against when running pronto. Use this if you have a
specific branch you'd like to always use as a target for the diff to be reviewed
and that branch is not master. This defaults to origin/master or the target
of the pull request being opened (when the event is pull_request).
required: false
default: >-
origin/master
runs:
using: docker
image: "docker://docker.io/chargifyhub/pronto-ruby:1.0"
args:
- run
- -r
- ${{ inputs.runners }}
- -c
- ${{ inputs.target }}
- -f
- text
- github_action_check_run