diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..20996a2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,39 @@ +--- +name: 🐛 Bug Report +about: Report a bug or unexpected behavior +title: "[Bug] " +labels: bug +assignees: '' +--- + +## 🐛 Bug Description + +A clear and concise description of what the bug is. + +## 📋 Steps to Reproduce + +1. Go to '...' +2. Click on '...' +3. See error + +## ✅ Expected Behavior + +What you expected to happen. + +## ❌ Actual Behavior + +What actually happened. + +## 📸 Screenshots (if applicable) + +Add screenshots to help explain the problem. + +## 🖥️ Environment + +- OS: [e.g. Windows, macOS, Linux] +- Browser: [e.g. Chrome, Firefox] +- Version: [e.g. 22] + +## 📝 Additional Context + +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..14663a0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: 💬 Ask for Help + url: https://github.com/ReactSphere/reactsphere-first-contribution/discussions + about: Ask questions or get help with contributing. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..6a61b9d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,27 @@ +--- +name: 🚀 Feature Request +about: Suggest a new feature or improvement +title: "[Feature] " +labels: enhancement +assignees: '' +--- + +## 🚀 Feature Description + +A clear and concise description of the feature you'd like to see. + +## 💡 Motivation + +Why is this feature needed? What problem does it solve? + +## 📐 Proposed Solution + +Describe how you think this feature should work. + +## 🔄 Alternatives Considered + +Describe any alternative solutions or features you've considered. + +## 📝 Additional Context + +Add any other context, screenshots, or examples about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/first_contribution.md b/.github/ISSUE_TEMPLATE/first_contribution.md new file mode 100644 index 0000000..59c07d4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/first_contribution.md @@ -0,0 +1,28 @@ +--- +name: 👋 First Contribution +about: I want to make my first open-source contribution! +title: "[First Contribution] Add to Contributors list" +labels: first-contribution, good first issue +assignees: '' +--- + +## 👋 Hello! + +I'm ready to make my first open-source contribution to ReactSphere! + +**My GitHub username:** + +## ✅ Checklist + +- [ ] I have read the [CONTRIBUTING.md](../CONTRIBUTING.md) +- [ ] I will fork the repository +- [ ] I will add my name to `Contributors.md` in the correct format +- [ ] I will open a pull request with only `Contributors.md` modified + +## 📝 Note + +Please follow the format in `Contributors.md`: + +```md +* [Your Name](https://github.com/your-username) +``` diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..d5bb457 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,19 @@ +## 📋 Pull Request Description + + + +## ✅ Checklist + +- [ ] I have read the [CONTRIBUTING.md](CONTRIBUTING.md) +- [ ] My PR only modifies `Contributors.md` +- [ ] I have added my name in the correct format: `* [Your Name](https://github.com/your-username)` +- [ ] I have not removed or edited other contributors' names +- [ ] My branch name follows the pattern `add-your-name` + +## 🔗 Related Issue (if any) + +Closes # + +## 📝 Additional Notes + + diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..c18a18e --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,11 @@ +# Auto-label rules based on files changed in a PR + +first-contribution: + - Contributors.md + +documentation: + - "*.md" + - "docs/**" + +github-config: + - ".github/**" diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 0000000..3a8d67c --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,39 @@ +- name: bug + color: d73a4a + description: Something isn't working + +- name: enhancement + color: a2eeef + description: New feature or request + +- name: good first issue + color: 7057ff + description: Good for newcomers + +- name: first-contribution + color: 0075ca + description: First open-source contribution + +- name: documentation + color: 0052cc + description: Improvements or additions to documentation + +- name: github-config + color: e4e669 + description: Changes to GitHub configuration files + +- name: help wanted + color: 008672 + description: Extra attention is needed + +- name: invalid + color: e4e669 + description: This doesn't seem right + +- name: question + color: d876e3 + description: Further information is requested + +- name: wontfix + color: ffffff + description: This will not be worked on diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..a2d270e --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,19 @@ +name: Auto Label PRs + +on: + pull_request: + types: [opened, synchronize, reopened] + +permissions: + contents: read + pull-requests: write + +jobs: + label: + runs-on: ubuntu-latest + steps: + - name: Auto Label + uses: actions/labeler@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + configuration-path: .github/labeler.yml