From 26bd92c43219c673506480de1627e9a13917c4d6 Mon Sep 17 00:00:00 2001 From: ocobleseqx Date: Wed, 18 Oct 2023 19:30:41 +0200 Subject: [PATCH] fixup! execute acctest only if pull request is not draft Signed-off-by: ocobleseqx --- .github/workflows/acctest.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/acctest.yml b/.github/workflows/acctest.yml index 2b4ee5839..4140e53f4 100644 --- a/.github/workflows/acctest.yml +++ b/.github/workflows/acctest.yml @@ -13,6 +13,7 @@ name: Acceptance Tests on: pull_request_target: + types: [opened, synchronize, reopened, ready_for_review] paths-ignore: - 'LICENSE' - '**.md' @@ -27,7 +28,7 @@ permissions: jobs: authorize: - if: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.draft == false }} + if: (github.event_name == 'workflow_dispatch') || (github.event_name == 'pull_request_target' && !github.event.pull_request.draft) environment: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository &&