-
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (36 loc) · 1.39 KB
/
github.issue.welcome.yaml
File metadata and controls
46 lines (36 loc) · 1.39 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
name: GitHub Issue - Welcome for First Contributors
on:
workflow_call:
inputs:
issue_message:
type: string
required: false
default: |
### :wave: Welcome! Looks like this is your first issue.
Hey, thanks for your contribution! Please give us a bit of time to review it. 😄
**Be sure to follow the issue template!**
description: "(Optional) The welcome message to post on the first issue created by a contributor."
pr_message:
type: string
required: false
default: |
### :wave: Welcome! Looks like this is your first pull request.
Hey, thanks for your contribution! Please give us a bit of time to review it. 😄
**Please check out our contributing guidelines.**
description: "(Optional) The welcome message to post on the first pull request created by a contributor."
secrets:
token:
required: false
description: "(Optional) The GitHub API token to use when communicating with GitHub API."
jobs:
welcome:
name: Welcome First Time Contributors
runs-on: ubuntu-latest
steps:
- name: Welcome for First Issue or Pull Request
id: welcome
uses: actions/first-interaction@v3
with:
repo_token: ${{ secrets.token }}
issue_message: ${{ inputs.issue_message }}
pr_message: ${{ inputs.pr_message }}