Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

ci: automated build, release, and hassio notification pipeline#3

Merged
Nafania merged 6 commits intomainfrom
ci/auto-build-release
Mar 16, 2026
Merged

ci: automated build, release, and hassio notification pipeline#3
Nafania merged 6 commits intomainfrom
ci/auto-build-release

Conversation

@Nafania
Copy link
Copy Markdown
Owner

@Nafania Nafania commented Mar 16, 2026

Summary

  • Fix Node.js 20 deprecation warning by opting into Node.js 24 (FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true)
  • Rename tests.ymlci.yml and add automated Docker build + release pipeline
  • Auto-increment version from latest git tag (v0.9.8.Nv0.9.8.(N+1)) on merge to main
  • Build and push Docker image to ghcr.io/nafania/agent-zero:<version> after all tests pass
  • Create and push git tag automatically
  • Notify Nafania/agent-zero-hassio via repository_dispatch with new version

Job chain

unit-tests → integration-tests → build-and-release → notify-hassio

Only unit-tests runs on PRs. The full chain runs on push to main.

Required secrets (manual setup)

  • HASSIO_DISPATCH_TOKEN — PAT with repo scope for Nafania/agent-zero-hassio
  • OPENROUTER_API_KEY — already configured (for integration tests)

Test plan

  • Verify unit-tests job runs on PR (this PR itself)
  • After merge: verify build-and-release creates correct tag and pushes Docker image
  • After merge: verify notify-hassio sends repository_dispatch to hassio repo
  • Create HASSIO_DISPATCH_TOKEN secret before merge

Made with Cursor

@Nafania Nafania force-pushed the ci/auto-build-release branch from 403e0f9 to 2a3c0f1 Compare March 16, 2026 14:21
@Nafania Nafania merged commit 0242323 into main Mar 16, 2026
Nafania added a commit that referenced this pull request Mar 31, 2026
- #3: duplicate response loop breaker (breaks after 3 identical responses)
- #4: dynamic output truncation threshold based on context window size
- #2: resolve §§secret() / $$secret() placeholders in MCP server env/args/url/headers
- #19: scheduler update_task tool method + prompt documentation

Already applied (verified, skipping): #22 parallel MCP init, agent0ai#62 context window optimization

Upstream: PR agent0ai#1265, PR agent0ai#857, PR agent0ai#1150, PR agent0ai#1105
Made-with: Cursor
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant