From 60af13cd1104c3d72755d05f9486182e06498026 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Fri, 13 Jan 2023 13:55:10 +0100 Subject: [PATCH] Only run github release action if latest commit message contains "#_build" (without the "_") --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f88f479..4916659 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ on: push jobs: release: runs-on: ${{ matrix.os }} + if: ${{ contains(github.event.head_commit.message, '#build') }} strategy: matrix: