Skip to content

Commit 33917e8

Browse files
committed
Add workflow to greet new contributors
1 parent 8ec35c4 commit 33917e8

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2021 The Stdlib Authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#/
18+
19+
# Workflow name:
20+
name: greeting
21+
22+
# Workflow triggers:
23+
on: [pull_request, issues]
24+
25+
# Workflow jobs:
26+
jobs:
27+
28+
# Define a job for commenting on first-time contributions...
29+
greeting:
30+
31+
# Define the type of virtual host machine:
32+
runs-on: ubuntu-latest
33+
34+
# Define the sequence of job steps...
35+
steps:
36+
# Greet first-time contributors:
37+
- name: Greet first-time contributors
38+
uses: actions/first-interaction@v1
39+
with:
40+
repo-token: ${{ secrets.GITHUB_TOKEN }}
41+
issue-message: |
42+
:tada: Welcome! :tada:
43+
44+
And thank you for opening your first issue! We will get back to you shortly. :runner: :dash:
45+
pr-message: |
46+
:tada: Welcome! :tada:
47+
48+
And thank you for opening your first pull request! We will review it shortly. :runner: :dash:

0 commit comments

Comments
 (0)