From 7c009ab410c7256add2219eca2e9f7f6cce7a1bf Mon Sep 17 00:00:00 2001 From: Ed L Date: Thu, 7 Jan 2021 20:04:47 +0000 Subject: [PATCH] ci(greetings): only run on opening of issue/pr + add pr message --- .github/workflows/greetings.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 68f7cd4..995320e 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -1,6 +1,10 @@ name: Greetings -on: [pull_request, issues] +on: + pull_request: + types: opened + issues: + types: opened jobs: greeting: @@ -10,4 +14,4 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} issue-message: 'Welcome! If this is a security issue, please send details to alej0hio2007@gmail.com, help.ttsbotsnapps@gmail.com or message us on Discord.' - pr-message: '' + pr-message: 'Thanks for your first contribution! Make sure you''ve [checked the docs], and wait for a review!'