diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 23cd2bd..e97c3ff 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -1,8 +1,10 @@ name: Code Quality on: + # Only run on push to main (not feature branches) to avoid duplicate runs. + # Feature branches get CI via pull_request trigger. push: - branches: [ main, feature/* ] + branches: [ main ] pull_request: branches: [ main ] workflow_dispatch: diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index b89bea8..e4289f8 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -1,8 +1,10 @@ name: PHPUnit Tests on: + # Only run on push to main (not feature branches) to avoid duplicate runs. + # Feature branches get CI via pull_request trigger. push: - branches: [ main, feature/* ] + branches: [ main ] pull_request: branches: [ main ] workflow_dispatch: diff --git a/.github/workflows/playground-tests.yml b/.github/workflows/playground-tests.yml index 50967be..2b71b9c 100644 --- a/.github/workflows/playground-tests.yml +++ b/.github/workflows/playground-tests.yml @@ -8,8 +8,10 @@ name: WordPress Playground Tests # npm run playground:start:multisite on: + # Only run on push to main (not feature branches) to avoid duplicate runs. + # Feature branches get CI via pull_request trigger. push: - branches: [ main, feature/* ] + branches: [ main ] pull_request: branches: [ main ] workflow_dispatch: