From e9757ac3efcad3c5ed35af679e567533653068e4 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 13 Apr 2023 09:52:40 +0200 Subject: [PATCH] .github: run action on approved PR or if started manually Signed-off-by: Joachim Wiberg --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d353cf4b..69e2784d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,11 +8,13 @@ name: Bob the Builder # branches: # - '*' on: - pull_request: + pull_request_review: + types: [submitted] workflow_dispatch: jobs: build: + if: github.event.review.state == 'approved' || github.event_name == 'workflow_dispatch' name: Build ${{ matrix.platform }} runs-on: ubuntu-latest strategy: