generated from actions-cool/action-js-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
57 lines (54 loc) · 1.61 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
name: 'Check PR CI'
description: 'Check the PR CI status and perform some operation after success or failure.'
author: 'xrkffgg'
branding:
# https://actions-cool.github.io/github-action-branding/
icon: 'battery-charging'
color: 'red'
inputs:
token:
description: Secret GitHub API token to use for making API requests.
default: ${{ github.token }}
required: true
# filter
filter-label:
description: Filter PR by label.
filter-creator:
description: Filter PR by creator name.
filter-creator-authority:
description: Filter PR by creator authority.
filter-head-ref:
description: Filter PR head ref branch.
filter-support-fork:
description: Filter PR come from.
# check
skip-run-names:
description: Skip some run names.
# resule
## success
success-review:
description: Whether to approve when success.
success-review-body:
description: Review body.
success-merge:
description: Whether to merge when success.
merge-method:
description: Merge method to use. Possible values are merge, squash or rebase. Default is merge.
merge-title:
description: Title for the automatic merge.
merge-message:
description: Extra detail to append to automatic merge.
## conflict
conflict-review-body:
description: Comment when has conflict.
## failure
failure-review:
description: Include REQUEST_CHANGES or COMMENT.
failure-review-body:
description: Review body.
failure-close:
description: Whether close PR.
runs:
using: 'node12'
main: 'dist/index.js'