Skip to content

feat: unified publish workflow with single approval gate - #715

Merged
kovtcharov-amd merged 1 commit into
mainfrom
kalin/unified-publish-workflow
Apr 2, 2026
Merged

kovtcharov-amd merged 1 commit into
mainfrom
kalin/unified-publish-workflow

Conversation

@kovtcharov

Copy link
Copy Markdown
Contributor

Summary

  • Consolidate publish_installer.yml, publish-npm-ui.yml, and PyPI publishing into a single publish.yml workflow triggered by v* tag pushes
  • Single approval gate via GitHub "publish" environment — approve once, publish both PyPI and npm in parallel
  • pypi.yml reduced to CI-only build check (verifies package builds on every push/PR)
  • npm publish now uses the validated build artifact from the build step instead of rebuilding from source

Workflow flow

validate → build (pypi + npm + electron, parallel)
  → approve (single manual gate)
    → publish (pypi + npm, parallel)
      → github release (sigstore + electron artifacts)

One-time setup required

  1. Create a "publish" GitHub environment with required reviewers (this is the single approval gate)
  2. Keep the "pypi" environment for OIDC trusted publishing, but remove its required reviewers
  3. Update PyPI trusted publisher config to reference publish.yml instead of pypi.yml
  4. npm auth is handled via npm's validated workflow mechanism (manual config)

Test plan

  • Verify pypi.yml runs on push/PR and skips tag pushes
  • Verify publish.yml triggers on v* tag push
  • Verify validation catches version mismatches
  • Verify single approval gate blocks until reviewer approves
  • Verify npm publish uses pre-built artifact, not a fresh rebuild
  • Test with workflow_dispatch for dry-run validation

Consolidate publish_installer.yml, publish-npm-ui.yml, and PyPI
publishing from pypi.yml into a single publish.yml workflow.

Flow: validate → build (pypi + npm + electron, parallel)
  → approve (single manual gate) → publish (pypi + npm, parallel)
    → github release (sigstore + electron artifacts)

- publish.yml: single entry point triggered by v* tag push
- pypi.yml: reduced to CI-only build check (no publishing)
- npm publish uses validated build artifact instead of rebuilding
- Requires one-time GitHub environment setup ("publish" with reviewers)
@github-actions github-actions Bot added the devops DevOps/infrastructure changes label Apr 1, 2026
@kovtcharov-amd kovtcharov-amd self-assigned this Apr 2, 2026
@kovtcharov-amd
kovtcharov-amd enabled auto-merge April 2, 2026 18:32
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Apr 2, 2026
Merged via the queue into main with commit e4c7a5e Apr 2, 2026
19 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the kalin/unified-publish-workflow branch April 2, 2026 18:34
@itomek itomek mentioned this pull request Apr 10, 2026
github-merge-queue Bot pushed a commit that referenced this pull request Apr 10, 2026
Release notes for v0.17.2. See
[docs/releases/v0.17.2.mdx](https://github.com/amd/gaia/blob/v0.17.2-release/docs/releases/v0.17.2.mdx)
for the full body.

**Headline features:**
- One-click desktop installers for Windows, macOS, and Linux (#731 +
#743)
- Customizable agents and Builder Agent (#720)
- MCP tool execution visibility in Agent Activity panel (#717)

**Security:** RAG cache integrity verification (#722, closes #447)

**Bug fixes:** drag-and-drop upload in any browser (#729), Linux install
fixes (#743)

**Release & CI:** unified publish workflow (#715), Claude review on fork
PRs (#685), npm OIDC fix (#683), webui package.json sync (#682)

Full changelog: v0.17.1...v0.17.2

---------

Co-authored-by: Tomasz Iniewicz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops DevOps/infrastructure changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants