fix: publish registry releases only from version tags

This commit is contained in:
Krishi Attri
2026-07-25 00:42:45 +00:00
parent 22c9765b71
commit a6f5a9bfd8
3 changed files with 4 additions and 3 deletions
+2
View File
@@ -24,5 +24,7 @@ jobs:
pip install -e ".[test]"
- name: Run CPU unit tests
run: python -m pytest -q
- name: Run registry security style checks
run: python -m ruff check --select E702 .
- name: Build wheel from clean metadata
run: python -m pip wheel . --no-deps --wheel-dir dist
+1 -2
View File
@@ -2,8 +2,7 @@ name: Publish to Comfy Registry
on:
workflow_dispatch:
push:
branches: [main, master]
paths: ["pyproject.toml"]
tags: ["v*"]
permissions:
issues: write
jobs:
+1 -1
View File
@@ -13,7 +13,7 @@ dependencies = ["hicache-pp>=1.1.0"]
classifiers = ["Development Status :: 5 - Production/Stable"]
[project.optional-dependencies]
test = ["pytest>=8", "numpy>=1.24", "torch>=2.1"]
test = ["pytest>=8", "numpy>=1.24", "torch>=2.1", "ruff>=0.16"]
[project.urls]
Repository = "https://github.com/Archerkattri/ComfyUI-HiCache"