Skip to content

Commit

Permalink
Create greetingsmerge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericsimard authored Oct 6, 2022
1 parent a7dff3c commit d33d943
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/greetingsmerge.yml
Original file line number Diff line number Diff line change
@@ -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!<br><br>![](https://media.giphy.com/media/l4KhQo2MESJkc6QbS/giphy.gif)"

0 comments on commit d33d943

Please sign in to comment.