-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
64 changed files
with
5,572 additions
and
865 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* text=auto | ||
*.json text eol=lf |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: 🐞 Bug | ||
description: Report an issue to help us improve the project. | ||
title: "[BUG] <write a small description here>" | ||
labels: ["bug", "goal: fix", "priority: medium"] | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: A brief description of the issue or bug you are facing, also include what you tried and what didn't work. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Screenshots | ||
description: Please add screenshots if applicable | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Any additional information? | ||
description: Any additional information or Is there anything we should know about this bug? | ||
validations: | ||
required: false | ||
- type: dropdown | ||
attributes: | ||
label: What browser are you seeing the problem on? | ||
multiple: true | ||
options: | ||
- Firefox | ||
- Chrome | ||
- Safari | ||
- Microsoft Edge | ||
- type: checkboxes | ||
id: no-duplicate-issues | ||
attributes: | ||
label: "Checklist" | ||
options: | ||
- label: "I have checked the existing [issues](https://github.com/swaraj-das/Collect-your-GamingTools/issues)." | ||
required: true | ||
- label: "I have read the [Code Of Conduct](https://github.com/swaraj-das/Collect-your-GamingToolst/blob/main/CODE_OF_CONDUCT.md)" | ||
required: true | ||
- label: "The changes don't break the code" | ||
required: true | ||
- label: "Please attach the screenshots and video of the development work once it is done " | ||
required: true | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: "Documentation 📋" | ||
description: "Use this form to present your suggestions on how to improve our docs" | ||
title: "[DOCS] <write your suggestion here>" | ||
labels: ["documenation", "goal: enhancement"] | ||
|
||
body: | ||
- type: textarea | ||
id: docs_description | ||
attributes: | ||
label: "Issue Description" | ||
description: "Please provide a brief summary of the documentation issue you are experiencing or would like to address." | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: screenshots_examples_docs | ||
attributes: | ||
label: "Screenshots or Examples (if applicable)" | ||
description: "Please include relevant screenshots or examples to help illustrate the problem." | ||
|
||
- type: textarea | ||
id: proposed_solution_docs | ||
attributes: | ||
label: "Proposed Solution (optional)" | ||
description: "If you have a proposed solution for the documentation issue, please provide it here. This can be helpful for speeding up the resolution process." | ||
|
||
- type: checkboxes | ||
id: terms_checklist_docs | ||
attributes: | ||
label: "Checklist" | ||
description: "By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/swaraj-das/Collect-your-GamingTools/blob/main/CODE_OF_CONDUCT.md)" | ||
options: | ||
- label: "I have checked the existing [issues](https://github.com/swaraj-das/Collect-your-GamingTools/issues)." | ||
required: true | ||
|
||
- label: "The changes don't break the code" | ||
required: true | ||
- label: "Please attach the screenshots and video of the development work once it is done " | ||
required: true | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Feature Request 💡 | ||
description: Have any new idea or new feature for Collect-your-GamingTools? Please suggest! | ||
title: "[Feature] <write a small description here>" | ||
labels: ["enhancement", "goal: addition", "priority: high"] | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: A clear and concise description of any alternative solution or features you've considered. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: screenshots | ||
attributes: | ||
label: Screenshots | ||
description: Please add screenshots if applicable | ||
validations: | ||
required: false | ||
- type: checkboxes | ||
id: no-duplicate-issues | ||
attributes: | ||
label: "Checklist" | ||
options: | ||
- label: "I have checked the existing [issues](https://github.com/swaraj-das/Collect-your-GamingTools/issues)." | ||
required: true | ||
|
||
- label: "I have read the [Code Of Conduct](https://github.com/swaraj-das/Collect-your-GamingTools/blob/main/CODE_OF_CONDUCT.md)" | ||
required: true | ||
|
||
- label: "The changes don't break the code" | ||
required: true | ||
- label: "Please attach the screenshots and video of the development work once it is done " | ||
required: true |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Other | ||
description: Use this for any other question or issue. Please do not create blank issues | ||
title: "[OTHER]" | ||
labels: ["status: awaiting triage"] | ||
body: | ||
- type: textarea | ||
id: issuedescription | ||
attributes: | ||
label: What would you like to share or ask? | ||
description: Provide a clear and concise explanation of your issue. | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: no-duplicate-issues | ||
attributes: | ||
label: "Checklist" | ||
options: | ||
- label: "I have checked the existing [issues](https://github.com/Collect-your-GamingTools/issues)." | ||
required: true | ||
|
||
- label: "I have read the [Code Of Conduct](https://github.com/Collect-your-GamingTools/blob/main/CODE_OF_CONDUCT.md)" | ||
required: true | ||
|
||
- label: "The changes don't break the code" | ||
required: true | ||
- label: "Please attach the screenshots and video of the development work once it is done " | ||
required: true |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Refactor Code 🔧 | ||
description: Use this label for code refactoring tasks. | ||
title: "[Refactor] <write what you want to add>" | ||
labels: ["goal: refactor", "priority: medium"] | ||
body: | ||
- type: input | ||
attributes: | ||
label: File Name | ||
description: "Enter the file that you want to refactor in the codebase." | ||
placeholder: "For example - component/Cards/Card.tsx" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: refactor_description | ||
attributes: | ||
label: "Reason for Refactoring the Code" | ||
description: "Describe what improvements can be made in the codebase without introducing breaking changes." | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: no-duplicate-issues | ||
|
||
|
||
attributes: | ||
label: "Checklist" | ||
options: | ||
|
||
- label: "I have checked the existing [issues](https://github.com/Collect-your-GamingTools/issues)." | ||
required: true | ||
|
||
|
||
- label: "I have read the [Code Of Conduct](https://github.com/Collect-your-GamingTools/blob/main/CODE_OF_CONDUCT.md)" | ||
required: true | ||
|
||
- label: "The changes don't break the code" | ||
required: true | ||
- label: "Please attach the screenshots and video of the development work once it is done " | ||
required: true | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Task Request | ||
description: This is Only For Project Admins and Mentors. | ||
title: " <write a small description here>" | ||
labels: ["priority: high"] | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: A brief description of the issue or bug you are facing, also include what you tried and what didn't work. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Screenshots | ||
description: Please add screenshots if required | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Any additional Details? | ||
description: Please Provide Key Details, if required (Goals and objectives,Deliverables,Dependencies) | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Deadline | ||
description: Specify the task deadline | ||
validations: | ||
required: true | ||
|
||
- type: markdown | ||
attributes: | ||
value: "Stay you can start working on it by taking latest pull from main branch" | ||
|
||
|
||
|
||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: PR Description Check | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
|
||
jobs: | ||
validate-pr-description: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Validate PR Description | ||
id: check_description | ||
run: | | ||
if [ -z "${{ github.event.pull_request.body }}" ]; then | ||
echo "::error::Description is missing!" | ||
exit 1 | ||
fi | ||
- name: Check for issue number or 'Fixes #NEW' | ||
id: check_issue_number | ||
run: | | ||
description="${{ github.event.pull_request.body }}" | ||
if [[ ! "$description" =~ (Fixes #[0-9]+|Fixes #NEW) ]]; then | ||
echo "::error::PR description must contain an issue number or 'Fixes #NEW'" | ||
exit 1 | ||
fi |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,37 @@ | ||
name: Assign to Author | ||
name: Auto Comment on PR Merge | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
pull_request_target: | ||
types: [closed] | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
auto-assign: | ||
comment: | ||
if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
|
||
steps: | ||
- name: 'Auto-assign issue creator' | ||
uses: pozil/auto-assign-issue@v2 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} # Required token for authentication | ||
assignees: ${{ github.event.issue.user.login }} # Auto-assign the issue creator | ||
- name: Add Comment to Merged PR | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
COMMENT=$(cat <<EOF | ||
{ | ||
"body": "Congratulations, Your pull request has been successfully merged 🥳🎉 Thank you for your contribution to the project 🚀 Keep Contributing!! ✨" | ||
} | ||
EOF | ||
) | ||
RESPONSE=$(curl -s -o response.json -w "%{http_code}" \ | ||
-X POST \ | ||
-H "Authorization: token $GITHUB_TOKEN" \ | ||
-H "Accept: application/vnd.github.v3+json" \ | ||
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \ | ||
-d "$COMMENT") | ||
cat response.json | ||
if [ "$RESPONSE" -ne 201 ]; then | ||
echo "Failed to add comment" | ||
exit 1 | ||
fi |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Auto Assign and Label PR | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened] | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
assign-and-label: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Add Labels to PR | ||
uses: actions-ecosystem/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
labels: | ||
- gssoc-ext | ||
- hacktoberfest-accepted | ||
|
||
- name: Assign PR to Creator | ||
uses: actions-ecosystem/action-assign@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
assignees: ${{ github.actor }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: 'Greetings' | ||
|
||
on: | ||
fork: | ||
push: | ||
branches: [main] | ||
issues: | ||
types: [opened] | ||
pull_request_target: | ||
types: [opened] | ||
|
||
jobs: | ||
welcome: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: EddieHubCommunity/gh-action-community/src/welcome@main | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-message: | | ||
Congratulations, @${{ github.actor }}! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work! | ||
pr-message: | | ||
Great job, @${{ github.actor }}! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project. | ||
footer: 'We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our [contributing guidelines](https://github.com/swaraj-das/Collect-your-GamingTools/blob/main/Contributing.md)' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,11 @@ name: Auto Label New Issues & PRs | |
|
||
on: | ||
issues: | ||
types: [opened] | ||
pull_request: | ||
types: [opened] | ||
types: [opened] | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
|
||
jobs: | ||
label: | ||
|
@@ -19,11 +17,10 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Add Labels to Issues & PRs | ||
if: github.event_name == 'issues' || github.event_name == 'pull_request' | ||
if: github.event_name == 'issues' | ||
uses: actions-ecosystem/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
labels: | | ||
hacktoberfest | ||
hacktoberfest-accepted | ||
gssoc-ext |
Oops, something went wrong.