Restrict Greeter to PR openings only, add issue line

[ci skip]
This commit is contained in:
Charles Dang 2019-10-11 22:31:12 +11:00
parent 854e2cd2f0
commit c019dbe3d8

View file

@ -1,6 +1,10 @@
name: Greetings
on: [pull_request] # Add issues if we want a message there too
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
greeting:
@ -9,5 +13,5 @@ jobs:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Message that will be displayed on users'' first issue"
issue-message: "Hi! Thanks for helping make Wesnoth even better!"
pr-message: "Hi! :D Since this is your first pull request, don't forget to add yourself to the [credits](https://github.com/wesnoth/wesnoth/blob/master/data/core/about.cfg) under Miscellaneous Contributors."