mirror of
https://github.com/hanzoui/node-diff.git
synced 2026-10-30 20:37:29 +00:00
- Updated copyright to Hanzo AI, Inc. - Replaced ComfyUI references with Hanzo Studio - Updated GitHub org URLs (Comfy-Org → hanzoui) - Updated domains (comfy.org → hanzo.ai) - Updated package names and npm scopes - Updated LICENSE with Hanzo AI copyright header
42 lines
950 B
YAML
42 lines
950 B
YAML
name: 'Hanzo Studio Node Validator'
|
|
description: 'Validates Hanzo Studio custom nodes for breaking changes'
|
|
branding:
|
|
icon: 'check-circle'
|
|
color: 'green'
|
|
|
|
inputs:
|
|
base_ref:
|
|
description: 'Base branch to compare against'
|
|
required: false
|
|
default: 'main'
|
|
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Checkout PR
|
|
uses: actions/checkout@v3
|
|
with:
|
|
path: pr_repo
|
|
|
|
- name: Checkout base
|
|
uses: actions/checkout@v3
|
|
with:
|
|
ref: ${{ inputs.base_ref }}
|
|
path: base_repo
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.10'
|
|
|
|
- name: Install dependencies
|
|
shell: bash
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install typing-extensions
|
|
|
|
- name: Run validation
|
|
shell: bash
|
|
run: |
|
|
python ${{ github.action_path }}/src/validate_nodes.py base_repo pr_repo
|