DEV Community

Cover image for Add funny comments to your PRs and issues.
Marta83
Marta83

Posted on

Add funny comments to your PRs and issues.

My Workflow

I wanted to try it out Github actions for a while so when I saw this hackathon I though it was the perfect moment.

I didn't have any productive idea that wasn't already in the marketplace so I remember that when I started as a developer we have a feature in Jenkins where every build you could read a funny comment about Chuck Norris, and I loved it!

I'm also kind off a newbie with Typescript so I decided to use it to keep learning.

Submission Category:

Wacky Wildcards

Yaml File or Link to Code

Here is an example of how to use the Action:
Alt Text

You can customise your funny comments with the comment_type argument.

  • chuck : Add Chuck Norris's fun facts.
  • gif : Add funny gifs.
  • all: Random comment between all the options.

Alt Text

Alt Text

My Workflow

I wanted to try it out Github actions for a while so when I saw this hackathon I though it was the perfect moment.

I didn't have any productive idea that wasn't already in the marketplace so I remember that when I started as a developer we have a feature in Jenkins where every build you could read a funny comment about Chuck Norris, and I loved it!

I'm also kind off a newbie with Typescript so I decided to use it to keep learning.

Yaml File or Link to Code

Here is an example of how to use the Action Alt Text

You can customise your funny comments with the comment_type argument.

  • chuck : Add Chuck Norris's fun facts.
  • gif : Add funny gifs.
  • all: Random comment between al the options.

Alt Text

Alt Text

Additional Resources / Info

https://github.com/github-actions-up-and-running/pr-comment https://notiz.dev/blog/build-and-publish-your-first-github-action#quickstart https://api.chucknorris.io/ https://giphy.com/

MIT License

Copyright (c) 2020 Marta Ruiz

Permission is…

You can check it also in the Marketplace

Additional Resources / Info

https://github.com/github-actions-up-and-running/pr-comment
https://notiz.dev/blog/build-and-publish-your-first-github-action#quickstart
https://api.chucknorris.io/
https://giphy.com/

Discussion (2)

Collapse
bhatvikrant profile image
Vikrant Bhat

Haha😂! this quite innovative and unique! Kudos to you Marta!

Collapse
marta83 profile image
Marta83 Author

Thanks! 🤣🤘