DEV Community

Cover image for Welcomify-me
Dharmik
Dharmik

Posted on

Welcomify-me

My Workflow

This is a simple Action With Listens to new Issue and PRs and check if it's first Issue or PR by user then it greets user a hello Message that you provide.

Usage

name: 'Welcome New Contributors'

on:
  issues:
    types: [opened]
  pull_request_target:
    types: [opened]

jobs:
  welcome-new-contributor:
    runs-on: ubuntu-latest
    steps:
      - name: 'Greet the contributor'
        uses: DK-Khambhadiya/welcomify-me@v0.1
        with:
          token: ${{ secrets.ACTION_TOKEN }}
          issue-message: 'Hello there, thanks for opening your first issue. We welcome you to the community!'
          pr-message: 'Hello there, thanks for opening your first Pull Request. Someone will review it soon.'

Enter fullscreen mode Exit fullscreen mode

Submission Category:

Wacky Wildcards:

Yaml File or Link to Code

https://github.com/DK-Khambhadiya/welcomify-me

Additional Resources / Info

  • An Open Source Project/Repository that uses This workflows https://github.com/DK-Khambhadiya/book-manager

Top comments (3)

Collapse
 
lirantal profile image
Liran Tal

This is very cool Dharmik

I took a look at the source code repo for the action and it seems this action needs a PAT to be created or can it just work with the built-in GITHUB_TOKEN that is available for actions?

Collapse
 
dkkhambhadiya profile image
Dharmik

Thanks 😊,
Can you please create one issue on used repository so that i can check it's working or not i hope it should work. Now i have added secret in repository

Collapse
 
lirantal profile image
Liran Tal