From 271a59435c2b77259deeca500e157686aadf8c47 Mon Sep 17 00:00:00 2001 From: Roostar <68290838+roostarreksio@users.noreply.github.com> Date: Fri, 17 Jul 2020 15:44:26 +0200 Subject: [PATCH] Change release trigger to manual Release now will happen only if the commit message includes #patch, #minor, #major --- .github/workflows/EncryptAndRelease.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/EncryptAndRelease.yml b/.github/workflows/EncryptAndRelease.yml index 9d6d3dc..f3e4d81 100644 --- a/.github/workflows/EncryptAndRelease.yml +++ b/.github/workflows/EncryptAndRelease.yml @@ -3,11 +3,9 @@ on: push: branches: - master - pull_request: - branches: - - master jobs: Release: + if: contains(github.event.commits[0].message, '#minor') || contains(github.event.commits[0].message, '#major') || contains(github.event.commits[0].message, '#patch') runs-on: ubuntu-latest steps: - uses: actions/checkout@v2