Polish Selection Page Buttons and Card Styling #309
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: Auto Comment on Issue | |
| on: | |
| issues: | |
| types: [opened] | |
| permissions: | |
| issues: write | |
| jobs: | |
| comment: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Add Comment to Issue | |
| uses: actions/github-script@v6 | |
| with: | |
| script: | | |
| const issueNumber = context.issue.number; | |
| const commentBody = `### 🙏 Thank you for opening this issue!\n\nWe appreciate your effort in contributing to this project. Our team will review the details shortly. \n\n🔎 Meanwhile, please ensure that you have:\n- Reviewed the **README.md** for project setup and guidelines.\n- Gone through the **CONTRIBUTING.md** to follow contribution standards.\n- Read the **CODE_OF_CONDUCT.md** to maintain a respectful community.\n\n⚠️ Kindly note: Please do **not** create a Pull Request until this issue has been properly **assigned to you**. This helps us keep contributions well-organized. 🚀\n\nThanks again for your contribution! ✨`; | |
| await github.rest.issues.createComment({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: issueNumber, | |
| body: commentBody | |
| }); | |
| console.log('Comment added successfully.'); |