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: on:
pull_request: pull_request:
branches: branches:
- main - master
paths-ignore: paths-ignore:
- "tests/**" - "tests/**"
- "tests-ui/**" - "tests-ui/**"
- ".github/workflows/**" - ".github/workflows/**"
- "!.github/workflows/linux-os-test.yml" - "!.github/workflows/linux-os-test.yml"
push: push:
branches:
- master
paths-ignore: paths-ignore:
- "tests/**" - "tests/**"
- "tests-ui/**" - "tests-ui/**"

View File

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

View File

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