Skip to content

Commit 9ef7f52

Browse files
committed
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.
1 parent b8f6cdd commit 9ef7f52

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/stepup-behat.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: stepup-behat
33
on:
44
pull_request:
55
push:
6-
branches: [ main, feature/*, bugfix/* ]
6+
branches:
7+
- main
8+
workflow_dispatch:
79
jobs:
810
build:
911
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)