From b57b9a7ab76f930ab7eb1f60e9f27a8ab17637f1 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Mon, 26 Oct 2026 16:12:10 -0400 Subject: [PATCH 1/3] Automatically build on PRs to the community branch --- .github/workflows/build-platforms.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-platforms.yml b/.github/workflows/build-platforms.yml index ddc5f3004..1aef003cf 100644 --- a/.github/workflows/build-platforms.yml +++ b/.github/workflows/build-platforms.yml @@ -7,6 +7,9 @@ on: tags: - 'ce-[0-9]*' workflow_dispatch: + pull_request: + branches: + - 'v3.0-community-edition' permissions: contents: read From 0a86768d6963e3ffe92a8cce38bc6275691e7cd7 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Mon, 26 Oct 2026 16:12:24 -0400 Subject: [PATCH 2/3] Fix (upgrade) broken spellcheck workflow Also, manually specify list of files to check. Exclude CLAUDE.md because humans aren't editing that file and there's no use in spellchecking it (which is a maintanence burden) --- .github/workflows/gibberish.txt | 15 +++++++++++++++ .github/workflows/spellcheck.yaml | 6 +++--- .spellcheck.yaml | 3 ++- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gibberish.txt b/.github/workflows/gibberish.txt index 05b53072d..88c87ed14 100644 --- a/.github/workflows/gibberish.txt +++ b/.github/workflows/gibberish.txt @@ -60,3 +60,18 @@ Kosma Kosma's DEV Modrinth +md +ai +claude +config +NMS +HD +raytrace +renderers +renderer +Shaders +FileTree +MSSQL +servlet +JUnit +JVM diff --git a/.github/workflows/spellcheck.yaml b/.github/workflows/spellcheck.yaml index d4facf8a6..b2de9f584 100644 --- a/.github/workflows/spellcheck.yaml +++ b/.github/workflows/spellcheck.yaml @@ -6,9 +6,9 @@ on: jobs: spellcheck: name: rojopolis/spellcheck - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: actions/checkout - uses: actions/checkout@v2 + uses: actions/checkout@v7 - name: rojopolis/spellcheck - actually doing something - uses: rojopolis/spellcheck-github-actions@0.29.0 + uses: rojopolis/spellcheck-github-actions@0.66.0 diff --git a/.spellcheck.yaml b/.spellcheck.yaml index b75b37026..72552397d 100644 --- a/.spellcheck.yaml +++ b/.spellcheck.yaml @@ -21,5 +21,6 @@ matrix: - 'code' - 'pre' sources: - - '**/*.md' + - 'README.md' + - 'CONTRIBUTING.md' default_encoding: utf-8 From 162964cd969e56056f6ef1780ffb3c398ae65b1a Mon Sep 17 00:00:00 2001 From: jacob1 Date: Thu, 29 Oct 2026 16:32:45 -0400 Subject: [PATCH 3/3] For PRs, use PR's HEAD sha instead of arbitrary merge commit sha --- .github/workflows/build-platforms.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-platforms.yml b/.github/workflows/build-platforms.yml index 1aef003cf..01ff73c6b 100644 --- a/.github/workflows/build-platforms.yml +++ b/.github/workflows/build-platforms.yml @@ -30,7 +30,7 @@ jobs: id: v shell: bash run: | - hash=$(git rev-parse --short=7 HEAD) + hash=$(git rev-parse --short=7 "${{ github.event.pull_request.head.sha || 'HEAD' }}") desc=$(git describe --tags --long --abbrev=7 --match 'ce-[0-9]*.[0-9]*.[0-9]*' --exclude 'ce-*-*' 2>/dev/null || true) if [[ $desc =~ ^ce-([0-9]+)\.([0-9]+)\.([0-9]+)-([0-9]+)-g ]]; then if [ "${BASH_REMATCH[4]}" = 0 ]; then