Add condition to only trigger on push to master

and PR to master
This commit is contained in:
Yoland Y 2024-04-02 15:53:09 -07:00
parent d6fd187b6d
commit 1390f9d7d0
3 changed files with 9 additions and 3 deletions

View File

@ -2,13 +2,15 @@ name: Test ComfyUI Linux with Default Workflow
on:
pull_request:
branches:
- main
- master
paths-ignore:
- "tests/**"
- "tests-ui/**"
- ".github/workflows/**"
- "!.github/workflows/linux-os-test.yml"
push:
branches:
- master
paths-ignore:
- "tests/**"
- "tests-ui/**"

View File

@ -3,13 +3,15 @@ name: Test ComfyUI Mac With Default Workflow
on:
pull_request:
branches:
- main
- master
paths-ignore:
- 'tests/**'
- 'tests-ui/**'
- ".github/workflows/**"
- "!.github/workflows/mac-os-test.yml"
push:
branches:
- master
paths-ignore:
- 'tests/**'
- 'tests-ui/**'

View File

@ -2,13 +2,15 @@ name: Test ComfyUI Windows with Default Workflow
on:
pull_request:
branches:
- main
- master
paths-ignore:
- 'tests/**'
- 'tests-ui/**'
- ".github/workflows/**"
- "!.github/workflows/win-os-test.yml"
push:
branches:
- master
paths-ignore:
- 'tests/**'
- 'tests-ui/**'