From c26875bdec20f9238b9a6e5afa4d06ed1b5726b7 Mon Sep 17 00:00:00 2001 From: miozune Date: Thu, 2 Nov 2023 11:18:01 +0900 Subject: [PATCH] Add ability to skip GitHub publication --- .github/workflows/release-tags.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index c151a80..94735fa 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -76,6 +76,7 @@ jobs: continue-on-error: true env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + if: ${{ !contains(github.event.head_commit.message, '[no github]') }} - name: Publish to Maven, Modrinth and CurseForge run: ./gradlew --build-cache --info --stacktrace build publish