Skip to content
21 changes: 13 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2025-10-30T18:39:06.390Z</timestamp>
# </meta>

name: Bug Report
description: File a bug report
labels: ["bug"]
assignees: [PssbleTrngle]

body:
- type: textarea
Expand All @@ -19,9 +24,9 @@ body:
label: Loader
multiple: false
options:
- forge
- fabric
- neoforge
- "neoforge"
- "forge"
- "fabric"
validations:
required: true

Expand All @@ -38,16 +43,16 @@ body:
label: Minecraft Version
multiple: false
options:
- "1.21"
- "1.21"
- "1.20"
- "1.19"
- "1.18"
validations:
required: true

- type: textarea
- type: input
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: Shell
label: log output
description: Please copy and paste your log output to https://mclo.gs/ or a similar site and paste the link here.
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2025-10-30T18:39:06.395Z</timestamp>
# </meta>

blank_issues_enabled: false
13 changes: 9 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2025-10-30T18:39:06.395Z</timestamp>
# </meta>

name: Feature Request
description: Suggest a feature
labels: ["enhancement", "feature", "feature-request"]
assignees: [PssbleTrngle]
labels: ["enhancement"]

body:
- type: textarea
Expand All @@ -11,11 +16,11 @@ body:
placeholder: So I was think about...
validations:
required: true

- type: textarea
id: problem-solving
attributes:
label: Does this solve a particular problem?
placeholder: Yes, it balances...
placeholder: Yes, it balances...
validations:
required: false
23 changes: 14 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2025-10-30T18:39:06.396Z</timestamp>
# </meta>

name: Release
on:
release:
Expand All @@ -23,17 +29,16 @@ jobs:
java-version: 21
distribution: temurin

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- uses: gradle/actions/setup-gradle@v4

- name: Build and upload
uses: gradle/gradle-build-action@v2
with:
arguments: build curseforge modrinth publish
arguments: build publish
env:
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_TOKEN: ${{ secrets.NEXUS_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
CHANGELOG: ${{ github.event.release.body }}
RELEASE_VERSION: ${{ github.event.release.tag_name }}
MODRINTH_TOKEN: ${{secrets.MODRINTH_TOKEN}}
CURSEFORGE_TOKEN: ${{secrets.CURSEFORGE_TOKEN}}
CHANGELOG: ${{github.event.release.body}}
RELEASE_VERSION: ${{github.event.release.tag_name}}
NEXUS_USER: ${{secrets.NEXUS_USER}}
NEXUS_TOKEN: ${{secrets.NEXUS_TOKEN}}
34 changes: 17 additions & 17 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2025-10-30T18:39:06.396Z</timestamp>
# </meta>

name: Analyze
on:
workflow_dispatch:
push:
branches: ["[0-9]+.[0-9]+.x"]
paths:
- '**/*.kt'
- '**/*.kts'
- '**/*.java'
branches: ["[0-9]+.[0-9]+.[0-9x]+"]

env:
CI: true

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true

jobs:
analyze:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
permissions:
contents: read
steps:
Expand All @@ -32,18 +33,17 @@ jobs:
java-version: 21
distribution: temurin

- uses: gradle/actions/setup-gradle@v4

- name: Cache SonarQube packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
key: ${{runner.os}}-sonar
restore-keys: ${{runner.os}}-sonar

- name: Build
run: ./gradlew build spotlessCheck sonar
- name: Build & Analyze
run: ./gradlew build check sonar
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
SONAR_HOST_URL: ${{secrets.SONAR_HOST_URL}}
29 changes: 24 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,34 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2025-10-30T18:39:06.391Z</timestamp>
# </meta>

name: Test

on:
workflow_dispatch:
inputs:
upload:
description: "Upload Artifact"
default: false
required: true
type: boolean

pull_request:
types: [opened, synchronize]

env:
CI: true

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
permissions:
contents: read
steps:
Expand All @@ -25,8 +40,12 @@ jobs:
java-version: 21
distribution: temurin

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- uses: gradle/actions/setup-gradle@v4

- name: Build
run: ./gradlew build spotlessCheck
run: ./gradlew build check

- uses: actions/upload-artifact@v4
with:
name: build
path: "**/build/libs/*.jar"