From 9ef7f526ea2c67be6ad418008ab8c3068d00c7eb Mon Sep 17 00:00:00 2001 From: Johan Kromhout Date: Thu, 15 Jan 2026 11:33:38 +0100 Subject: [PATCH] Run stepup-behat tests only once Prior to this change, the stepup-behat tests would almost always run twice on every commit: one for 'push' and one for 'pull_request'. This change only runs the 'push' run on the main branch. This means, if there is no PR, it will also not run the tests on other branches. `workflow_dispatch` adds the option to start the pipeline manually. Running the tests twice caused issues with cdns (npm, composer) on other projects. --- .github/workflows/stepup-behat.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stepup-behat.yml b/.github/workflows/stepup-behat.yml index 29e9342..f27818e 100644 --- a/.github/workflows/stepup-behat.yml +++ b/.github/workflows/stepup-behat.yml @@ -3,7 +3,9 @@ name: stepup-behat on: pull_request: push: - branches: [ main, feature/*, bugfix/* ] + branches: + - main + workflow_dispatch: jobs: build: runs-on: ubuntu-latest