Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions workflow-templates/cat-thanker.properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Cat thanker",
"description": "Posts a thank you message and a cat when a PR is merged.",
"iconName": "cat",
"categories": []
}
23 changes: 23 additions & 0 deletions workflow-templates/cat-thanker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Merge cat

on:
pull_request:
branches:
- main
types: [closed]

jobs:
thanks:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: comment PR
uses: unsplash/comment-on-pr@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
msg: |
Thanks for the contribution, @${{ github.event.pull_request.user.login }}!

![cat](https://cdn.discordapp.com/emojis/802947464230731807.gif?v=1)
check_for_duplicate_msg: true
Binary file added workflow-templates/cat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.