-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
64 lines (60 loc) · 2.67 KB
/
action.yml
File metadata and controls
64 lines (60 loc) · 2.67 KB
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
name: First Contribution
description: Automatically respond to a user's first contribution to your repository.
author: Paul Ebose
branding:
icon: activity
color: green
inputs:
token:
description: GitHub token used to post comments, labels, and reactions. Defaults to `github.token`.
default: ${{ github.token }}
issue-opened-msg:
description: Message when a first-time contributor opens an issue.
pr-opened-msg:
description: Message when a first-time contributor opens a pull request.
issue-completed-msg:
description: Message for a first-time contributor when their issue is closed as completed.
issue-not-planned-msg:
description: Message for a first-time contributor when their issue is closed as not planned.
pr-merged-msg:
description: Message for a first-time contributor when their pull request is merged.
pr-closed-msg:
description: Message for a first-time contributor when their pull request is closed without being merged.
labels:
description: Comma-separated list of labels to add when an issue or PR is opened.
issue-labels:
description: Comma-separated list of labels for first-time issues. Overrides `labels`.
pr-labels:
description: Comma-separated list of labels for first-time pull requests. Overrides `labels`.
reactions:
description: >
Comma-separated list of emoji reactions to add to the issue or PR body. Must be one of: `+1`, `-1`, `laugh`,
`confused`, `heart`, `hooray`, `rocket`, `eyes`.
issue-reactions:
description: >
Comma-separated list of emoji reactions to add to the issue body. Overrides `reactions` input. Must be one of:
`+1`, `-1`, `laugh`, `confused`, `heart`, `hooray`, `rocket`, `eyes`.
pr-reactions:
description: >
Comma-separated list of emoji reactions to add to the pull request body. Overrides `reactions` input. Must be one
of: `+1`, `-1`, `laugh`, `confused`, `heart`, `hooray`, `rocket`, `eyes`.
contribution-mode:
description: |
Controls how first contributions are tracked.
- (default): Issues and pull requests are tracked separately. The Action triggers for a user's first issue AND their first pull request.
- `once`: The Action triggers only on the user's very first contribution to the repository, whether it's an issue OR a pull request.
fail-on-error:
description: Fail the workflow step if an error occurs.
default: 'false'
outputs:
type:
description: Contribution type. `issue` or `pr`.
number:
description: Issue or pull request number.
username:
description: GitHub username of the contributor.
comment-url:
description: URL of the posted comment.
runs:
using: node24
main: dist/index.js