mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-03-12 04:36:10 -07:00
This commit is to append an GitHub Action to welcome new contributors into the FauxPilot community. This action is to post automatically a welcome message whenever a new contributor opens a first issue or PR in this repository. Signed-off-by: Geunsik Lim <leemgs@gmail.com> Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
21 lines
597 B
YAML
21 lines
597 B
YAML
name: 'Welcome New Contributors'
|
|
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
pull_request_target:
|
|
types: [opened]
|
|
|
|
jobs:
|
|
welcome-new-contributor:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 'Greet the contributor'
|
|
uses: garg3133/welcome-new-contributors@v1.2
|
|
with:
|
|
token: ${{ secrets.BOT_ACCESS_TOKEN }}
|
|
is-oauth-token: true
|
|
issue-message: 'Hello there, thanks for opening your first issue. We
|
|
welcome you to the FauxPilot community!'
|
|
pr-message: 'Hello there, thanks for opening your first Pull
|
|
Request. Someone will review it soon.' |