From 21f0eb38634b769fb533660a13c51952c3302a23 Mon Sep 17 00:00:00 2001 From: Jeff Flater Date: Sun, 4 May 2025 12:56:14 -0500 Subject: [PATCH] another test --- .github/workflows/behave.api.test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/behave.api.test.yml b/.github/workflows/behave.api.test.yml index d5d78e1..c6c2975 100644 --- a/.github/workflows/behave.api.test.yml +++ b/.github/workflows/behave.api.test.yml @@ -2,11 +2,12 @@ name: Behave API Test on: push: - branches: [develop] + branches: [develop] # Runs dev-tests pull_request: - types: [closed] - branches: [develop, staging, main] + branches: [main] # Triggers on PRs *into* main (used for staging-tests) workflow_dispatch: + pull_request_target: + types: [closed] # Used for prod-tests (PR merged to main) jobs: dev-tests: @@ -38,7 +39,7 @@ jobs: path: reports/ staging-tests: - if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'staging' + if: github.event.pull_request.head.ref == 'staging' && github.event.pull_request.base.ref == 'main' runs-on: ubuntu-latest environment: STAGING