DEV Community

Enrique Benitez ๐Ÿค™
Enrique Benitez ๐Ÿค™

Posted on

Warm Welcome Action ๐Ÿค—

My Workflow

warm-welcome-action is a very simple GitHub Action I made to learn the basics of how actions work โš™๏ธ and for the dev.to actions hackathon ๐ŸŽ‰

What this action does is every time a user submits a new pull request on a repository with this action installed, it will post a warm welcome gif to make the person who made the PR well, welcome.

Submission Category:

Wacky Wildcards

Yaml File or Link to Code

GitHub logo bntzio / warm-welcome-action

GitHub Action to give a warm welcome on PRs ๐Ÿ’–

warm welcome action ๐Ÿค—

GitHub Action to give a warm welcome on PRs ๐Ÿ’–

GitHub release (latest by date)

About

warm-welcome-action is a very simple GitHub Action I made to learn the basics of how actions work โš™๏ธ and for the dev.to actions hackathon ๐ŸŽ‰

What this action does is every time a user submits a new pull request on a repository with this action installed, it will post a warm welcome gif to make the person who made the PR well, welcome.

How to use

Create a .github/workflows/action.yml file in the repository you want to install this action, then add the following to it:

name: "Warm Welcome"
on
  pull_request
  issues
    types: [opened]
  push
    branches:
      - master
jobs:
  test:
    if: github.event_name == 'pull_request'
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2.0.0
    - name: grab and post gif and message
      id: 
โ€ฆ

Additional Resources / Info

This super simple action is my first GitHub Action published! ๐Ÿ’– I hope you all find it useful! ๐Ÿ˜„

PR's are welcome ๐Ÿ˜‰

welcome_gif

Discussion (2)

Collapse
maxdevjs profile image
maxdevjs

Great idea :)

Collapse
bntzio profile image
Enrique Benitez ๐Ÿค™ Author

Thanks! :D