From 8653f059b8c14b7b9b59c58158413f18c1eff1cc Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Tue, 30 Nov 2021 12:41:42 +0100 Subject: [PATCH] Trigger on beta commit message --- .github/workflows/beta.yml | 13 ++++++++++++- PassepartoutCore/Sources/PassepartoutCore/API | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index f966ab6b..ed8f4791 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -1,7 +1,9 @@ name: Public Beta on: - workflow_dispatch: + push: + branches: + - 'master' env: APP_STORE_CONNECT_API_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY }} @@ -20,8 +22,16 @@ env: CHANGELOG_PREFACE: ${{ secrets.CHANGELOG_PREFACE }} jobs: + check_beta: + if: contains(github.event.head_commit.message, 'Attempt beta release') + runs-on: ubuntu-latest + steps: + - name: Check beta commit + run: | + echo build_upload_ios: runs-on: macos-11 + needs: check_beta timeout-minutes: 60 steps: - uses: actions/checkout@v2 @@ -39,6 +49,7 @@ jobs: bundle exec fastlane --env ios,beta store_beta build_upload_mac: runs-on: macos-11 + needs: check_beta timeout-minutes: 60 steps: - uses: actions/checkout@v2 diff --git a/PassepartoutCore/Sources/PassepartoutCore/API b/PassepartoutCore/Sources/PassepartoutCore/API index a3588654..62305b8d 160000 --- a/PassepartoutCore/Sources/PassepartoutCore/API +++ b/PassepartoutCore/Sources/PassepartoutCore/API @@ -1 +1 @@ -Subproject commit a35886548dd3068e4173d51dd448288b45ad3eff +Subproject commit 62305b8d915585bb8f7199c7a808eb7b57793339