Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit 30904e8

Browse files
author
AzaleeX
committed
🛡️Reinforcing github templates
1 parent 673f6ad commit 30904e8

File tree

7 files changed

+68
-31
lines changed

7 files changed

+68
-31
lines changed

.github/ISSUE_TEMPLATE/api-change-request.md renamed to .github/ISSUE_TEMPLATE/1-api-change-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: API change request
33
about: Suggest a change, addition or removal to the plugin API
44
title: ''
5-
labels: ''
5+
labels: 'Type: API'
66
assignees: ''
77

88
---
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Bug report
33
about: Unexpected non-crash behaviour (except missing gameplay features)
44
title: ''
5-
labels: ''
5+
labels: 'Type: Bug'
66
assignees: ''
77

88
---
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Question
3+
about: Ask your question
4+
title: Question
5+
labels: 'Type: Question'
6+
assignees: ''
7+
8+
---
File renamed without changes.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,34 @@
1-
## Introduction
2-
<!-- Explain existing problems or why this pull request is necessary -->
1+
### Description
32

4-
### Relevant issues
5-
<!-- List relevant issues here -->
6-
<!--
3+
<!-- [Provide a detailed description of the changes you've made in this Pull Request] -->
4+
5+
### Issue Resolved (if applicable)
76

8-
* Fixes #1
9-
* Fixes #2
7+
<!-- [If this PR resolves a particular issue, please describe it here with relevant details] -->
108

9+
### Proposed Changes
10+
<!--
11+
- [List the main modifications or added features]
12+
- [Example: Added feature X to enhance Y]
1113
-->
1214

13-
## Changes
14-
### API changes
15-
<!-- Any additions to the API that should be documented in release notes? -->
15+
### Screenshots / Videos (if applicable, obligatory)
1616

17-
### Behavioural changes
18-
<!-- Any change in how the server behaves, or its performance? -->
17+
<!-- [If possible, provide screenshots or videos to illustrate the changes made] -->
1918

20-
## Backwards compatibility
21-
<!-- Any possible backwards incompatible changes? How are they solved, or how can they be solved? -->
19+
### Verification
2220

23-
## Follow-up
24-
<!-- Suggest any actions to be done before/after merging this pull request -->
25-
<!--
21+
- [ ] I have tested these changes locally
22+
- [ ] Changes work as intended
23+
- [ ] I have checked that these changes do not cause regression in other parts of the codebase
2624

27-
Requires translations:
25+
### Checklist
2826

29-
| Name | Value in eng.ini |
30-
| :--: | :---: |
31-
| `foo.bar` | `Foo bar` |
27+
- [ ] I have added comments/documentation to explain the changes (if necessary)
28+
- [ ] I have updated existing documentation if changes were required
29+
- [ ] I have ensured my code adheres to project style conventions and best practices
3230

33-
-->
31+
### Known Issues
3432

35-
## Tests
36-
<!--
37-
Details should be provided of tests done. Simply saying "tested" or equivalent is not acceptable.
33+
<!-- [List any known issues or limitations you've identified with these changes] -->
3834

39-
Attach scripts or actions to test this pull request, as well as the result
40-
-->

.github/release.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
changelog:
2+
categories:
3+
- title: ✨ Feature
4+
labels:
5+
- "Type: Feature"
6+
- title: 🤖 API
7+
labels:
8+
- "Type: API"
9+
- title: 🧨 Bugs
10+
labels:
11+
- "Type: Bug"
12+
- title: 🧹 Cleanup
13+
labels:
14+
- "Type: Cleanup"
15+
- title: 🦺 Client Bug
16+
labels:
17+
- "Type: Client Bug"
18+
- title: 📖 Documentation
19+
labels:
20+
- "Type: Documentation"
21+
- title: 🕸️ Enhancement
22+
labels:
23+
- "Type: Enhancement"
24+
- title: 🗣️ Language
25+
labels:
26+
- "Type: Language"
27+
- title: 🧶 Dependencies
28+
labels:
29+
- "dependencies"
30+
exclude:
31+
labels:
32+
- "Type: Discussion"
33+
- "Type: Question"
34+
- "php"

.github/workflows/draft-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
id: get-symply-version
5555
run: |
5656
echo SYMPLY_VERSION=$(php -r 'require "vendor/autoload.php"; echo \pocketmine\VersionInfo::SYMPLY_VERSION;') >> $GITHUB_OUTPUT
57-
echo POCKETMINE_VERSION=$(php -r 'require "vendor/autoload.php"; echo \pocketmine\VersionInfo::BASE_VERSION;') >> $GITHUB_OUTPUT
57+
echo PM_VERSION=$(php -r 'require "vendor/autoload.php"; echo \pocketmine\VersionInfo::BASE_VERSION;') >> $GITHUB_OUTPUT
5858
echo MCPE_VERSION=$(php -r 'require "vendor/autoload.php"; echo \pocketmine\network\mcpe\protocol\ProtocolInfo::MINECRAFT_VERSION_NETWORK;') >> $GITHUB_OUTPUT
5959
echo SYMPLY_VERSION_SHORT=$(php -r 'require "vendor/autoload.php"; $v = explode(".", \pocketmine\VersionInfo::SYMPLY_VERSION); array_pop($v); echo implode(".", $v);') >> $GITHUB_OUTPUT
6060
echo SYMPLY_VERSION_MD=$(php -r 'require "vendor/autoload.php"; echo str_replace(".", "", \pocketmine\VersionInfo::SYMPLY_VERSION);') >> $GITHUB_OUTPUT
@@ -97,7 +97,8 @@ jobs:
9797
tag: ${{ steps.get-symply-version.outputs.SYMPLY_VERSION }}
9898
token: ${{ secrets.GITHUB_TOKEN }}
9999
body: |
100-
**This version supports Minecraft:BE ${{ steps.get-symply-version.outputs.MCPE_VERSION }} and use Pocketmine {{ steps.get-symply-version.outputs.POCKETMINE_VERSION }}**
100+
**This version supports Minecraft:BE ${{ steps.get-symply-version.outputs.MCPE_VERSION }}**
101+
- Uses [Pocketmine-MP](https://github.com/pmmp/PocketMine-MP) version **${{ steps.get-symply-version.outputs.PM_VERSION }}**
101102
102103
ADD CHANGELOG
103104

0 commit comments

Comments
 (0)