Skip to content

[New Feature]: Schedule Screen Developement #12

[New Feature]: Schedule Screen Developement

[New Feature]: Schedule Screen Developement #12

name: Comment on opening issue!
on:
issues:
types:
- opened
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Issue Opened
uses: actions/github-script@v4
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
script: |
const { owner, repo, number } = context.issue;
const commentauthor = context.payload.issue.user.login;
const commentBody = `Greetings @${commentauthor}🎀 ! , We are excited to have you dive into another issue with us!🚀\nYour involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇. This issue represents an exciting opportunity for us to improve and enhance our project, and we are thrilled to have you on board.\n We request you to follow [CONTRIBUTING GUIDELINES](../blob/main/CONTRIBUTING.md).\nLooking for your PR soon! \n In case of any issues, you can contact us on [Discord](https://discord.gg/mv4NTzN).❣️`;
await github.issues.createComment({ owner, repo, issue_number: number, body: commentBody });
console.log(`Commented on the issue: ${commentBody}.`);