-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
56 lines (52 loc) · 2.18 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
name: First Contribution
description: Automatically respond to a user's first contribution to your repository.
author: Paul Ebose
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: activity
color: green
# Define your inputs here.
inputs:
token:
description:
The GitHub access token (e.g. secrets.GITHUB_TOKEN) used to add relevant comments and labels. This defaults to
`github.token`.
default: ${{ github.token }}
issue-opened-msg:
description: Message to reply a first-time contributor with, when they open a new issue.
pr-opened-msg:
description: Message to reply a first-time contributor with, when they open a new pull request.
issue-completed-msg:
description: Message to reply a first-time contributor with, when their authored issue is CLOSED AS COMPLETED.
issue-not-planned-msg:
description: Message to reply a first-time contributor with, when their authored issue is CLOSED AS NOT_PLANNED.
pr-merged-msg:
description: Message to reply a first-time contributor with, when their authored pull request is MERGED.
pr-closed-msg:
description:
Message to reply a first-time contributor with, when their authored pull request is CLOSED without being merged.
labels:
description:
Comma-separated list of labels that should be added to an issue or pull request opened by a first-time
contributor.
issue-labels:
description:
Comma-separated list of labels that should be added to an issue authored by a first-time contributor. Takes
precedence over the 'labels' input.
pr-labels:
description:
Comma-separated list of labels that should be added to a pull request authored by a first-time contributor. Takes
precedence over the 'labels' input.
# Define your outputs here.
outputs:
type:
description: Where the first contribution was made. `issue` or `pr`.
number:
description: Unique number of the issue or pull request.
username:
description: GitHub username of the first-time contributor.
comment-url:
description: URL to the comment that was made in response to the user's first contribution.
runs:
using: node20
main: dist/index.js