From d33d943f957873d0721ed15722b90c46c2ebff18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simard?= <85687350+fredericsimard@users.noreply.github.com> Date: Thu, 6 Oct 2022 14:13:52 -0400 Subject: [PATCH] Create greetingsmerge.yml --- .github/workflows/greetingsmerge.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/greetingsmerge.yml diff --git a/.github/workflows/greetingsmerge.yml b/.github/workflows/greetingsmerge.yml new file mode 100644 index 000000000..496593a85 --- /dev/null +++ b/.github/workflows/greetingsmerge.yml @@ -0,0 +1,17 @@ +name: Greetings on PR Merge + +on: + pull_request: + types: [closed] + +jobs: + greeting: + runs-on: ubuntu-latest + steps: + - uses: Manoj-Paramsetti/greets-action@main + if: ${{ github.event.pull_request.merged == true }} + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # here issue_message is not given since the condition checks for the merge is true. it will + # does not pass the checks in issue + PR_message: "Congrats on getting your first pull request merged!

![](https://media.giphy.com/media/l4KhQo2MESJkc6QbS/giphy.gif)"