From 6b5dd8d684b99968fb4edd3f49055b3a8690bed1 Mon Sep 17 00:00:00 2001 From: Danylo Halaiko <54186666+d9nchik@users.noreply.github.com> Date: Mon, 1 Mar 2021 13:06:54 +0200 Subject: [PATCH 1/2] create greeting.yml Greets users who are first time contributors to the repo --- .github/workflows/greetings.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 00000000..2d13f7af --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,13 @@ +name: Greetings + +on: [pull_request, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: "It's my first issue don't blame me too much" + pr-message: "It's my first PR don't blame me too much" From ff91f2c6131ca462c866860decd5bb8260d554a7 Mon Sep 17 00:00:00 2001 From: Danylo Halaiko <54186666+d9nchik@users.noreply.github.com> Date: Mon, 1 Mar 2021 13:11:31 +0200 Subject: [PATCH 2/2] update greetings.yml (now contains person name) --- .github/workflows/greetings.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 2d13f7af..f9daaafe 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -9,5 +9,5 @@ jobs: - uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: "It's my first issue don't blame me too much" - pr-message: "It's my first PR don't blame me too much" + issue-message: "Hey **#**, thanks for first issue" + pr-message: "Hey **#**, thanks for first PR"