mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-23 06:36:58 +08:00
Only run when run_test is in the comment.
This commit is contained in:
parent
5c385d2029
commit
52fbacbfc6
17
.github/workflows/test-example-workflows.yml
vendored
17
.github/workflows/test-example-workflows.yml
vendored
@ -1,20 +1,15 @@
|
|||||||
name: Test ComfyUI Example Workflows
|
name: Test ComfyUI Example Workflows
|
||||||
on:
|
on:
|
||||||
pull_request:
|
issue_comment:
|
||||||
branches:
|
types: [created]
|
||||||
- master
|
|
||||||
- dev
|
|
||||||
paths-ignore:
|
|
||||||
- 'tests/**'
|
|
||||||
- 'tests-ui/**'
|
|
||||||
push:
|
|
||||||
paths-ignore:
|
|
||||||
- 'tests/**'
|
|
||||||
- 'tests-ui/**'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-default-workflow:
|
test-default-workflow:
|
||||||
|
if: >-
|
||||||
|
github.event_name == 'issue_comment' &&
|
||||||
|
contains(github.event.comment.body, 'run_test') &&
|
||||||
|
contains(fromJson('["WRITE", "MAINTAIN", "ADMIN"]'), github.event.comment.author_association)
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos, linux]
|
os: [macos, linux]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user