Skip to content

Commit

Permalink
Merge pull request #62 from mrpankajpandey/addTemplate
Browse files Browse the repository at this point in the history
[Feature ] Add Issue/Pull Request Section Template
  • Loading branch information
rajatrajputdev authored Oct 7, 2024
2 parents a756881 + 9a26fc7 commit 8e64179
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: ​🐞 Bug
description: Report an issue to help us improve the project.
title: '[BUG] '
labels: ["bug"]
body:
- type: textarea
attributes:
label: Description
id: 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
id: screenshots
description: Please add screenshots if applicable
validations:
required: false
- type: textarea
attributes:
label: Any additional information?
id: extrainfo
description: Any additional information or Is there anything we should know about this bug?
validations:
required: false
- type: dropdown
id: browsers
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'
required: true

- label: 'I have read the [Contributing Guidelines](https://github.com/rajatuiwebdev/badge-website/blob/main/CONTRIBUTING.md)'
required: true
- label: "I'm a GSSoC'24-Extd contributor"
- label: "I'm a Hacktoberfest'24 contributor"

- label: 'I am willing to work on this issue (optional)'
required: false
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
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 Canvas-Editor? Please suggest!
title: '[Feat]'
labels: [enhancement]
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: textareas
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'
required: true

- label: 'I have read the [Contributing Guidelines](https://github.com/rajatuiwebdev/badge-website/blob/main/CONTRIBUTING.md)'
required: true
- label: "I'm a GSSoC'24-Extd contributor"
- label: "I'm a Hacktoberfest'24 contributor"

- label: 'I am willing to work on this issue (optional)'
required: false
28 changes: 28 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## What does this PR do?

<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. -->

Fixes #(issue)

<!-- Please provide a Video and ScreenShots for visual changes to speed up reviews -->

## Type of change

<!-- Please delete bullets that are not relevant. -->

- Bug fix (non-breaking change which fixes an issue)
- Chore (refactoring code, technical debt, workflow improvements)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- This change requires a documentation update

## How should this be tested?

<!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration -->

- [ ] Test A
- [ ] Test B

## Mandatory Tasks

- [ ] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.
16 changes: 16 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Greetings

on: [pull_request_target, issues]

jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "👋 Thank you @${{ github.actor }} for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!"
pr-message: " 🎉 Thank you @${{ github.actor }} for your contribution! Your pull request has been submitted successfully. A maintainer will review it as soon as possible. We appreciate your support in making this project better"

0 comments on commit 8e64179

Please sign in to comment.