Skip to content

Commit

Permalink
Restrict Greeter to PR openings only, add issue line
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Vultraz committed Oct 11, 2019
1 parent 854e2cd commit c019dbe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/greetings.yml
@@ -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:
Expand All @@ -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."

0 comments on commit c019dbe

Please sign in to comment.