Files
Bria-AI-ComfyUI-BRIA-API/.github/workflows/release-please.yml
omriandClaude Opus 4.8 68910c584b ci: release-please flow + trunk-based dev, hygiene
Onboard ComfyUI-BRIA-API onto the Bria client-artifact conventions (matching
figma-plugin / photoshop-plugin / obs-backgroundremoval), adapted for a ComfyUI
custom node published to the Comfy Registry:

- release-please (release-please.yml, config, manifest baseline 2.1.19,
  release-type python): watches dev, opens a version-bump PR from Conventional
  Commits, cuts a vX.Y.Z tag + GitHub release on merge. Plain GITHUB_TOKEN is
  enough — publishing keys off the pyproject.toml version, not the tag.
- publish.yml: retargeted from main -> dev. Merging the release PR lands the
  pyproject.toml bump on dev, triggering the Comfy Registry publish.
- ci.yml: build check (compileall + pyproject.toml validity) + advisory ruff
  format, on PRs and pushes to dev.
- pr-title.yml: conventional-commit PR title gate.
- Hygiene: .agents convention (AGENTS.md + CLAUDE.md + canonical code-style rule
  + .claude/.cursor stubs), .pre-commit-config.yaml (ruff + generic hooks).

Version is no longer hand-bumped; dev is the single trunk.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-09 15:25:39 +03:00

36 lines
993 B
YAML

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
# SPDX-FileCopyrightText: 2026 Bria AI <support@bria.ai>
#
# SPDX-License-Identifier: Apache-2.0
name: Release Please
on:
push:
branches: [dev]
permissions: {}
jobs:
release-please:
name: Release Please
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
# Plain GITHUB_TOKEN is sufficient here: publishing to the Comfy Registry
# is triggered by the pyproject.toml version bump landing on dev (see
# publish.yml), NOT by the tag release-please pushes — so we don't need a
# PAT to make a tag trigger a downstream workflow. release-please still
# cuts the tag + GitHub release for provenance.
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json