-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78f3ee2
commit 809b56d
Showing
1 changed file
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
name: 'Greetings' | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened] | ||
# Trigger the workflow on push or pull request | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
welcome: | ||
comment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: EddieHubCommunity/gh-action-community/src/welcome@main | ||
- uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
pr-message: | | ||
Awesome work, @${{ github.actor }}! 🎉 Thank you for your contribution and efforts to enhance Hairify. | ||
Please don't tag the maintainers, we will review your changes soon and provide feedback. | ||
footer: 'Please ensure that you have followed the contributing guidelines for a smooth review process.' | ||
script: | | ||
github.rest.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: `👋 Thankyou for Making this PR and contributing to Hairify to enhance the product, we appreciate your time spent working on this and will be reviewing you PR soon. | ||
Make Sure you have followed all the contributing guidelines and are not tagging maintainers continuously for a PR review. | ||
If you Pull Request is incomplete at this state, make sure to mark it as draft. | ||
` | ||
}) |