Skip to content

Commit

Permalink
Adding templates for : MR / BUG / ISSUE
Browse files Browse the repository at this point in the history
  • Loading branch information
isontheline committed May 25, 2024
1 parent 93b00fc commit f7fe748
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 5 deletions.
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG] "
labels: bug
assignees: ''

---

<!-- Please provide as many details as possible, this will help us to deliver a fix as soon as possible. Thank you! -->

**Describe the bug**
<!-- A clear and concise description of what the bug is. -->

**Log and Stack trace**
<!-- Please provide a log and a stack trace (with exception), if applicable. -->

**To Reproduce**
<!-- Please provide a relevant code snippets to reproduce this bug. -->

**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->

**Please complete the following versions information:**
Run the following command and paste the output here:
```bash
gradle issueReportInfo
```

**Additional context**
<!-- Add any other context about the problem here. -->
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
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. -->
27 changes: 27 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!-- Thank you so much for your contribution! -->
<!-- Please fill in all the sections below. -->

<!-- Please open the PR as a draft initially. Once it is reviewed and approved, we will ask you to add documentation. -->
<!-- Please note that PRs with breaking changes will be rejected. -->
<!-- Please note that PRs without tests will be rejected. -->

<!-- Please note that PRs will be reviewed based on the priority of the issues they address. -->
<!-- We ask for your patience. We are doing our best to review your PR as quickly as possible. -->
<!-- Please refrain from pinging and asking when it will be reviewed. Thank you for understanding! -->


## Issue
<!-- Please paste the link to the issue this PR is addressing. For example: https://github.com/dRAGon-Okinawa/dRAGon/issues/15 -->


## Change
<!-- Please describe the changes you made. -->


## General checklist
<!-- Please double-check the following points and mark them like this: [X] -->
- [ ] There are no breaking changes
- [ ] I have added unit and integration tests for my change
- [ ] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
<!-- Before adding documentation and example(s) (below), please wait until the PR is reviewed and approved. -->
- [ ] I have added/updated the [documentation](https://github.com/dRAGon-Okinawa/dRAGon/tree/main/docs)
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ jobs:
gradle-version: 8.7

- name: Display Tools Versions
run: |
gradle -v
echo "Node $(node -v)"
echo "NPM $(npm -v)"
run: gradle issueReportInfo

- name: Create Release
if: github.ref == 'refs/heads/main'
Expand Down
11 changes: 10 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,13 @@ plugins {
id 'pl.allegro.tech.build.axion-release' version '1.17.2'
}

version = scmVersion.version
version = scmVersion.version

task issueReportInfo {
doLast {
exec {
workingDir '.'
commandLine 'sh', '-c', 'gradle -v && echo "NPM: $(npm -v)" && echo "Node: $(node -v)"'
}
}
}

0 comments on commit f7fe748

Please sign in to comment.