Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2026-03-03T16:10:58.012Z</timestamp>
# </meta>

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

body:
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true

- type: dropdown
id: loader
attributes:
label: Loader
multiple: false
options:
- "neoforge"
- "fabric"
- "forge"
validations:
required: true

- type: input
id: version-version
attributes:
label: Mod Version
validations:
required: true

- type: dropdown
id: minecraft-version
attributes:
label: Minecraft Version
multiple: false
options:
- "1.21"
- "1.20"
validations:
required: true

- type: input
id: logs
attributes:
label: log output
description: Please copy and paste your log output to https://mclo.gs/ or a similar site and paste the link here.
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2026-03-03T16:10:58.013Z</timestamp>
# </meta>

blank_issues_enabled: false
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2026-03-03T16:10:58.012Z</timestamp>
# </meta>

name: Feature Request
description: Suggest a feature
labels: ["enhancement"]

body:
- type: textarea
id: idea
attributes:
label: Describe the feature you have in mind.
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...
validations:
required: false
17 changes: 17 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2026-03-03T16:10:58.013Z</timestamp>
# </meta>

neoforge:
- "neoforge"
fabric:
- "fabric"
forge:
- "forge"

1.21.x:
- "1.21"
1.20.x:
- "1.20"
25 changes: 25 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2026-03-03T16:10:58.013Z</timestamp>
# </meta>

name: "Issue Labeler"

on:
issues:
types: [opened, edited]

permissions:
issues: write
contents: read

jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.4
with:
configuration-path: .github/labeler.yml
enable-versioned-regex: 0
repo-token: ${{ github.token }}
43 changes: 43 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2026-03-03T16:10:58.013Z</timestamp>
# </meta>

name: Release
on:
release:
types: [published]

env:
CI: true

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v4
with:
lfs: true

- uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin

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

- name: Build and upload
uses: gradle/gradle-build-action@v2
with:
arguments: build publish
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CHANGELOG: ${{ github.event.release.body }}
RELEASE_VERSION: ${{ github.event.release.tag_name }}
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_TOKEN: ${{ secrets.NEXUS_TOKEN }}
49 changes: 49 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2026-03-03T16:10:58.013Z</timestamp>
# </meta>

name: Analyze
on:
push:
branches: ["[0-9]+.[0-9]+.[0-9x]+"]

env:
CI: true

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

jobs:
analyze:
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-java@v4
with:
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: Build & Analyze
run: ./gradlew build check sonar
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
51 changes: 51 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2026-03-03T16:10:58.013Z</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 }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin

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

- name: Build
run: ./gradlew build check

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