From 0950d535690b585b4359ef6097cca08c28ee8063 Mon Sep 17 00:00:00 2001 From: SonyPradana Date: Sun, 5 May 2024 17:44:45 +0700 Subject: [PATCH 1/2] issue and pull request template --- .github/ISSUE_TEMPLATE.md | 18 ++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 9 +++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 00000000..e7ec9d3b --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,18 @@ + +#### What steps will reproduce the problem? + +#### What is the expected result? + +#### What do you get instead? + + +#### Additional info + +| Q | A | +|-------------------|---------------| +| Framework version | 0.**?**.**?** | +| PHP version | 7.4 or 8.**? | +| Operating system | | + +------ +_Description of the problem found._ diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..240af764 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,9 @@ +| Q | A | +|--------------|-----------------------------------------------------------| +| Is bugfix? | **Yes / No** | +| New feature? | **Yes / No** | +| Breaks BC? | **Yes / No** | +| Fixed issues | comma-separated list of tickets # fixed by the PR, if any | + +------ +_Description of the changes being made._ From 8a9d12a0015dfb63f0aded7fa81e5febb12fa457 Mon Sep 17 00:00:00 2001 From: SonyPradana Date: Tue, 3 Sep 2024 16:28:52 +0700 Subject: [PATCH 2/2] use issue yaml tamplate --- .github/ISSUE_TEMPLATE.md | 18 ------------------ .github/ISSUE_TEMPLATE/Bug_report.yaml | 11 +++++++++++ .github/ISSUE_TEMPLATE/Feature_request.yaml | 8 ++++++++ .github/ISSUE_TEMPLATE/config.yaml | 1 + 4 files changed, 20 insertions(+), 18 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/Bug_report.yaml create mode 100644 .github/ISSUE_TEMPLATE/Feature_request.yaml create mode 100644 .github/ISSUE_TEMPLATE/config.yaml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index e7ec9d3b..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,18 +0,0 @@ - -#### What steps will reproduce the problem? - -#### What is the expected result? - -#### What do you get instead? - - -#### Additional info - -| Q | A | -|-------------------|---------------| -| Framework version | 0.**?**.**?** | -| PHP version | 7.4 or 8.**? | -| Operating system | | - ------- -_Description of the problem found._ diff --git a/.github/ISSUE_TEMPLATE/Bug_report.yaml b/.github/ISSUE_TEMPLATE/Bug_report.yaml new file mode 100644 index 00000000..a631805c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Bug_report.yaml @@ -0,0 +1,11 @@ +name: Bug Report +description: What steps will reproduce the problem? +labels: Bug +body: + - type: textarea + id: description + attributes: + label: Description + description: Description of the problem found + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/Feature_request.yaml b/.github/ISSUE_TEMPLATE/Feature_request.yaml new file mode 100644 index 00000000..a33c6ecb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Feature_request.yaml @@ -0,0 +1,8 @@ +name: Feature Request +description: Describe the feature briefly +body: + - type: textarea + id: description + attributes: + label: Description + description: What do we aim to achieve? diff --git a/.github/ISSUE_TEMPLATE/config.yaml b/.github/ISSUE_TEMPLATE/config.yaml new file mode 100644 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yaml @@ -0,0 +1 @@ +blank_issues_enabled: false