Skip to content
Merged
Show file tree
Hide file tree
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
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---

name: Bug report

about: Create a report to help us improve

title: "\[BUG] "

labels: bug

assignees: ""

---



\*\*Describe the bug\*\*

A clear and concise description of what the bug is.



\*\*To Reproduce\*\*

Steps to reproduce the behavior:

1\. Go to '...'

2\. Click on '...'

3\. Scroll down to '...'

4\. See error



\*\*Expected behavior\*\*

A clear and concise description of what you expected to happen.



\*\*Screenshots\*\*

If applicable, add screenshots to help explain your problem.



\*\*Additional context\*\*

Add any other context about the problem here.



40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---

name: Feature request

about: Suggest an idea for this project

title: "\[FEATURE] "

labels: enhancement

assignees: ""

---



\*\*Is your feature request related to a problem? Please describe.\*\*

A clear and concise description of what the problem is. Ex: I'm always frustrated when \[...]



\*\*Describe the solution you'd like\*\*

A clear and concise description of what you want to happen.



\*\*Describe alternatives you've considered\*\*

A clear and concise description of any alternative solutions or features you've considered.



\*\*Additional context\*\*

Add any other context or screenshots about the feature request here.



17 changes: 17 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

## Description
Please include a summary of the changes and the related issue.

Fixes # (issue number)

## Type of change
- [ ] Bug fix
- [ ] New feature
- [ ] Documentation update
- [ ] Other (please describe):

## Checklist
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests that prove my fix is effective or that my feature works
24 changes: 24 additions & 0 deletions .github/workflows/closeIssue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Close issue comment
on:
issues:
types:
- closed

jobs:
comment:
runs-on: ubuntu-latest

steps:
- name: Issue close
uses: actions/github-script@v4
with:
github-token: ${{ secrets.MY_TOKEN }}
script: |
const { owner, repo, number } = context.issue;
const commentauthor = context.payload.issue.user.login;
const commentBody = `Hello @${commentauthor}! We'd like to inform you that the issue has been resolved and is now closed. We appreciate your understanding and look forward to your continued involvement with our repository!🤗
Thank you for your support!❣️
Happy coding!✨ We hope to see you again soon!❣️`;

await github.issues.createComment({ owner, repo, issue_number: number, body: commentBody });
console.log(`Commented on the issue: ${commentBody}.`);# trigger
25 changes: 25 additions & 0 deletions .github/workflows/issueOpen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Issue opened comment
on:
issues:
types:
- opened

jobs:
comment:
runs-on: ubuntu-latest

steps:
- name: Issue open
uses: actions/github-script@v4
with:
github-token: ${{ secrets.MY_TOKEN }}
script: |
const { owner, repo, number } = context.issue;
const commentauthor = context.payload.issue.user.login;
const commentBody = `Hi @${commentauthor}! 👋
Thank you for opening this issue. Our team will review it soon. Meanwhile, please make sure you’ve followed the issue template correctly and provided all the necessary details.
We're excited to collaborate with you under GSSoC'25 🚀
Happy Coding! 💖`;

await github.issues.createComment({ owner, repo, issue_number: number, body: commentBody });
console.log(`Commented on the issue: ${commentBody}.`);# trigger
26 changes: 26 additions & 0 deletions .github/workflows/pullReqMerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: PR merged comment
on:
pull_request:
types:
- closed

jobs:
comment:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true

steps:
- name: PR merged
uses: actions/github-script@v4
with:
github-token: ${{ secrets.MY_TOKEN }}
script: |
const { owner, repo } = context.repo;
const prNumber = context.payload.pull_request.number;
const prAuthor = context.payload.pull_request.user.login;
const commentBody = `Congratulations @${prAuthor}! 🎉
Your pull request has been successfully merged.
Thank you for your contribution and being part of our project! 💫
Keep coding and keep shining! 🌟`;

await github.issues.createComment({ owner, repo, issue_number: prNumber, body: commentBody });# trigger
24 changes: 24 additions & 0 deletions .github/workflows/pullReqOpen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: PR opened comment
on:
pull_request:
types:
- opened

jobs:
comment:
runs-on: ubuntu-latest

steps:
- name: PR open
uses: actions/github-script@v4
with:
github-token: ${{ secrets.MY_TOKEN }}
script: |
const { owner, repo, number } = context.issue;
const prAuthor = context.payload.pull_request.user.login;
const commentBody = `Hey @${prAuthor}! 🎉
Thanks for submitting your PR! Our maintainer will review it shortly.
Please ensure your PR follows the contributing guidelines.
Keep contributing and growing! 🌱✨`;

await github.issues.createComment({ owner, repo, issue_number: number, body: commentBody });# trigger
29 changes: 29 additions & 0 deletions .github/workflows/selfAssign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Self-assign on issue comment
on:
issue_comment:
types:
- created

jobs:
assign:
if: contains(github.event.comment.body, '/assign')
runs-on: ubuntu-latest

steps:
- name: Assign user to issue
uses: actions/github-script@v4
with:
github-token: ${{ secrets.MY_TOKEN }}
script: |
const issueNumber = context.issue.number;
const assignee = context.payload.comment.user.login;

await github.issues.addAssignees({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issueNumber,
assignees: [assignee]
});

console.log(`Assigned @${assignee} to issue #${issueNumber}`);
# trigger
42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License
Copyright (c) 2025 NAYANIKA MUKHERJEE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License

Copyright (c) 2025 NAYANIKA MUKHERJEE

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading