mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-22 13:56:59 +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
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- dev
|
||||
paths-ignore:
|
||||
- 'tests/**'
|
||||
- 'tests-ui/**'
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'tests/**'
|
||||
- 'tests-ui/**'
|
||||
issue_comment:
|
||||
types: [created]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
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:
|
||||
matrix:
|
||||
os: [macos, linux]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user