Created
December 22, 2022 06:16
-
-
Save deep5050/669b7f0c64b9697aec252d8ce5080a0f to your computer and use it in GitHub Desktop.
greet an issue raiser on new issues
This file contains hidden or 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
name: Issue Greeting | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
greet_user: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Greet user | |
run: | | |
echo "Welcome to the repository, @${{ github.event.issue.user.login }}! Thank you for opening this issue." | |
echo "We'll review and address your issue as soon as possible. In the meantime, if you have any questions or need assistance, don't hesitate to ask." | |
echo "Thank you for your contribution to the project!" | |
- name: Add a comment to the issue | |
uses: peter-evans/create-or-update-comment@v1 | |
with: | |
issue-number: ${{ github.event.issue.number }} | |
body: | | |
Welcome to the repository, @${{ github.event.issue.user.login }}! Thank you for opening this issue. | |
We'll review and address your issue as soon as possible. In the meantime, if you have any questions or need assistance, don't hesitate to ask. | |
Thank you for your contribution to the project! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment