Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github workflow #77

Merged
merged 1 commit into from
May 12, 2024
Merged
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
32 changes: 17 additions & 15 deletions .github/workflows/PR.yaml
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.
`
})
Loading