From ad9092e571b8e37f1780865e8fe514f4a802b8ef Mon Sep 17 00:00:00 2001 From: Arets Paeglis Date: Sun, 25 Oct 2026 21:44:23 +0200 Subject: [PATCH] Keep the workflow checkout and server.log out of git status (#75) --- .github/workflows/build-and-test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 05559d1..aad8127 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -99,6 +99,9 @@ jobs: ref: ${{ job.workflow_sha }} path: .gtnh-workflows fetch-depth: 0 + - name: Keep the workflow's own files out of git status + # GTNHGradle takes the mod's version from git, and these untracked paths would make it end in -dirty + run: printf '%s\n' /.gtnh-workflows/ /server.log >> .git/info/exclude - name: Find external-deps artifact for this run id: find-artifact