From 6f95cf3a722c435d18112a9c5d119c8b8580363f Mon Sep 17 00:00:00 2001 From: Jeff Flater Date: Sun, 4 May 2025 13:01:43 -0500 Subject: [PATCH] prevent staging from running twice --- .github/workflows/behave.api.test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/behave.api.test.yml b/.github/workflows/behave.api.test.yml index c6c2975..e1130c8 100644 --- a/.github/workflows/behave.api.test.yml +++ b/.github/workflows/behave.api.test.yml @@ -39,7 +39,7 @@ jobs: path: reports/ staging-tests: - if: github.event.pull_request.head.ref == 'staging' && github.event.pull_request.base.ref == 'main' + if: github.event.pull_request.head.ref == 'staging' && github.event.pull_request.base.ref == 'main' && !github.event.pull_request.merged runs-on: ubuntu-latest environment: STAGING