diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 5843606..212c716 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,31 +1,57 @@ --- name: "Issue Template" -about: "Use this template for reporting a bug, suggesting an enhancement, or requesting a feature." +about: "Report a bug π | Suggest an enhancement π‘ | Request a feature π" title: "[ISSUE] - Short Description" labels: bug, enhancement, question assignees: '' --- ## π Description - + -### π· Screenshot or Visual Reference (optional) - +--- + +## πΈ Screenshot or Visual Reference (optional) + + +--- ## π Bug Report (if applicable) - -- **Steps to Reproduce:** + + +- **Steps to Reproduce:** 1. Step 1 2. Step 2 3. Step 3 -- **Expected behavior:** What should happen? -- **Actual behavior:** What happened instead? -- **Environment (if applicable):** +- **Expected Behavior:** What you expected to happen. +- **Actual Behavior:** What actually happened. +- **Environment:** - Browser/OS: - Device: + - Version (if applicable): + +--- ## π‘ Enhancement / Feature Request (if applicable) - + + +**Why is this needed?** +_Explain how this will improve the project or user experience._ + +**Proposed Solution:** +_Describe your proposed idea or approach clearly._ + +--- + +## π Related Pull Requests + + + + + +--- ## π Additional Context - + diff --git a/.github/ruleset.json b/.github/ruleset.json new file mode 100644 index 0000000..efd9920 --- /dev/null +++ b/.github/ruleset.json @@ -0,0 +1,50 @@ +{ + "name": "Repository Contribution Ruleset", + "version": "1.0.0", + "description": "Ruleset for maintaining contribution standards, issue management, and PR validation.", + "rules": { + "pull_request": { + "require_issue_reference": true, + "required_labels": ["hacktoberfest", "hacktoberfest-accepted"], + "forbidden_labels": ["invalid", "duplicate", "wontfix"], + "min_commits": 1, + "checklist_required": true, + "file_changes_limit": 50, + "branch_protection": { + "protected_branches": ["main", "master"], + "require_reviews": true, + "required_approvals": 1 + } + }, + "issues": { + "required_labels": ["bug", "enhancement", "documentation", "question"], + "forbidden_labels": ["invalid", "duplicate"], + "issue_template_required": true, + "stale_issue_days": 30 + }, + "commits": { + "message_format": "^[A-Z].{10,}$", + "forbid_force_push": true, + "require_signed_commits": false + }, + "repository": { + "require_code_of_conduct": true, + "require_contributing_md": true, + "require_readme": true, + "require_license": true, + "topics_required": ["hacktoberfest", "open-source", "contributions"], + "auto_labeling": true + }, + "auto_actions": { + "on_issue_opened": ["add 'good first issue' if labeled 'enhancement'"], + "on_pr_opened": ["add 'hacktoberfest' label"], + "on_pr_merged": ["thank contributor", "close linked issues"] + } + }, + "messages": { + "pull_request_check_failed": "β Pull request does not meet repository contribution standards.", + "pull_request_check_passed": "β Pull request validated successfully.", + "issue_check_failed": "β οΈ Please follow the issue template and add appropriate labels.", + "auto_thank_you": "π Thank you for contributing to this project! Your efforts make open-source better." + } +} diff --git a/.github/workflows/autoAssign.yml b/.github/workflows/autoAssign.yml index e132116..29f43e1 100644 --- a/.github/workflows/autoAssign.yml +++ b/.github/workflows/autoAssign.yml @@ -61,171 +61,3 @@ jobs: } -# name: Auto Assign Issues and PRs - -# on: -# pull_request: -# types: [opened, reopened] # Trigger on opened and reopened PRs -# issues: -# types: [opened] # Trigger on issue open events - -# permissions: -# issues: write -# pull-requests: write - -# jobs: -# auto-assign: -# runs-on: ubuntu-latest - -# steps: -# # Step to add logging for debugging -# - name: Log context for debugging -# uses: actions/github-script@v6 -# with: -# script: | -# console.log("Event Payload:"); -# console.log(JSON.stringify(context.payload, null, 2)); // Log the entire payload for debugging - -# - name: Assign the issue or PR -# uses: actions/github-script@v6 -# with: -# script: | -# const assignee = context.payload.sender.login; // Get the username of the contributor -# console.log("Attempting to assign to:", assignee); // Log the assignee for debugging - -# try { -# if (context.eventName === 'pull_request') { -# // Check if the contributor has permissions to update the pull request -# const pullRequestNumber = context.payload.pull_request.number; - -# // Assign the pull request to the contributor -# await github.rest.issues.addAssignees({ -# owner: context.repo.owner, -# repo: context.repo.repo, -# issue_number: pullRequestNumber, // PRs are also issues, hence issue_number is used -# assignees: [assignee] -# }); -# console.log(`PR #${pullRequestNumber} successfully assigned to ${assignee}`); -# } else if (context.eventName === 'issues') { -# // Assign the issue to the contributor -# const issueNumber = context.payload.issue.number; - -# await github.rest.issues.addAssignees({ -# owner: context.repo.owner, -# repo: context.repo.repo, -# issue_number: issueNumber, -# assignees: [assignee] -# }); -# console.log(`Issue #${issueNumber} successfully assigned to ${assignee}`); -# } -# } catch (error) { -# console.error("Error during assignment:", error); -# } - - - -# # name: Auto Assign Issues and PRs - -# # on: -# # pull_request: -# # types: [opened, reopened] # Trigger on opened and reopened PRs -# # issues: -# # types: [opened] # Trigger on issue opened events - -# # permissions: -# # issues: write -# # pull-requests: write - -# # jobs: -# # auto-assign: -# # runs-on: ubuntu-latest - -# # steps: -# # # Step to add logging for debugging -# # - name: Log context for debugging -# # uses: actions/github-script@v6 -# # with: -# # script: | -# # console.log(JSON.stringify(context.payload, null, 2)); // Log the entire payload for debugging - -# # - name: Assign the issue or PR -# # uses: actions/github-script@v6 -# # with: -# # script: | -# # const assignee = context.payload.sender.login; // Get the username of the contributor -# # console.log("Assigning to: ", assignee); // Log the assignee for debugging - -# # if (context.eventName === 'pull_request') { -# # // Check if the contributor has permissions to update the pull request -# # const pullRequestNumber = context.payload.pull_request.number; - -# # // Assign the pull request to the contributor -# # await github.rest.issues.addAssignees({ -# # owner: context.repo.owner, -# # repo: context.repo.repo, -# # issue_number: pullRequestNumber, // PRs are also issues, hence issue_number is used -# # assignees: [assignee] -# # }); - -# # } else if (context.eventName === 'issues') { -# # // Assign the issue to the contributor -# # const issueNumber = context.payload.issue.number; - -# # await github.rest.issues.addAssignees({ -# # owner: context.repo.owner, -# # repo: context.repo.repo, -# # issue_number: issueNumber, -# # assignees: [assignee] -# # }); -# # } - - - - - -# # name: Auto Assign Issues and PRs - -# # on: -# # pull_request: -# # types: [opened, reopened] -# # issues: -# # types: [opened] - -# # permissions: -# # issues: write -# # pull-requests: write - -# # jobs: -# # auto-assign: -# # runs-on: ubuntu-latest - -# # steps: -# # # Step to add logginggg -# # - name: Log context for debugging -# # uses: actions/github-script@v6 -# # with: -# # script: | -# # console.log(JSON.stringify(context.payload, null, 2)); // Log the entire payload for debugging - -# # - name: Assign the issue or PR -# # uses: actions/github-script@v6 -# # with: -# # script: | -# # const assignee = context.payload.sender.login; // Get the username of the contributor -# # console.log("Assigning to: ", assignee); // Log the assignee for debugging - -# # if (context.eventName === 'pull_request') { -# # await github.rest.pulls.update({ -# # owner: context.repo.owner, -# # repo: context.repo.repo, -# # pull_number: context.payload.pull_request.number, -# # assignees: [assignee] // Assign the pull request to the contributor -# # }); -# # } else if (context.eventName === 'issues') { -# # await github.rest.issues.addAssignees({ -# # owner: context.repo.owner, -# # repo: context.repo.repo, -# # issue_number: context.payload.issue.number, -# # assignees: [assignee] // Assign the issue to the contributor -# # }); -# # } diff --git a/.gitignore b/.gitignore index 8d7e8f1..1ae5f43 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /node_modules node_modules -./node_modules \ No newline at end of file +./node_modules +node_modules \ No newline at end of file diff --git a/about-us.html b/about-us.html index f772874..ab84c51 100644 --- a/about-us.html +++ b/about-us.html @@ -39,42 +39,69 @@ -
We'd love to hear from you. Here's how you can reach us...
+ + + +91 895 781 8597 + + + + gps.96169@gmail.com + + + + Fatehpur, Uttar Pradesh, India + +We'd love to hear from you. Here's how you can reach us...
- - - +91 895 781 8597 - - - - gps.96169@gmail.com - - - - Fatehpur, Uttar Pradesh, India - -