-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
83 lines (83 loc) · 3.16 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: "Repo Automator"
description: "GH Action for automate some common repository operations and validate PR description, changelog and credits."
branding:
icon: "git-branch"
color: "blue"
inputs:
assign-pr:
description: "Whether to assign PR to author"
required: false
default: true
assign-issues:
description: "Whether to assign closing issue with PR assignee when linked PR is merged"
required: false
default: true
fail-label:
description: "The label to be added to PR if the pull request doesn't pass the validation"
required: false
default: "needs:feedback"
pass-label:
description: "The label to be added to PR if the pull request pass the validation"
required: false
default: "needs:code-review"
conflict-label:
description: "The label to be added to PR if the pull request has conflicts"
required: false
default: "needs:refresh"
conflict-comment:
description: "Comment template for adding comment on PR if it has conflicts"
required: false
default: "{author} thanks for the PR! Could you please rebase your PR on top of the latest changes in the base branch?"
comment-template:
description: "Comment template for adding comment on PR if it doesn't pass the validation"
required: false
default: "{author} thanks for the PR! Could you please fill out the PR template with description, changelog, and credits information so that we can properly review and merge this?"
issue-welcome-message:
description: "Comment template for adding a welcome message on an issue for first-time issue creators"
required: false
default: false
issue-comment:
description: "Comment template for adding a comment to a newly opened issue."
required: false
default: false
pr-comment:
description: "Comment template for adding a comment to a newly opened pull request."
required: false
default: false
pr-welcome-message:
description: "Comment template for adding a welcome message on a PR for first-time PR creators"
required: false
default: false
comment-ignore-users:
description: "List of users to ignore for adding comments when the issue or PR is opened by them."
required: false
reviewers:
description: "List of Reviewers to request PR review after passing all validation checks"
required: false
sync-pr-branch:
description: "Whether to enable automatic synchronization of the pull request branch with the base branch"
required: false
default: false
validate-description:
description: "Whether to validate the pull request description"
required: false
default: true
validate-changelog:
description: "Whether to validate the pull request changelog entry"
required: false
default: true
validate-credits:
description: "Whether to validate the props given in pull request"
required: false
default: true
max-retries:
description: "Maximum number of retries to check PR mergeable status"
required: false
default: 5
wait-ms:
description: "Time to wait in milliseconds between retries to check PR mergeable status"
required: false
default: 15000
runs:
using: "node20"
main: "dist/index.js"