{"id":51778332,"url":"https://github.com/bborbe/github-releaser-agent","last_synced_at":"2026-07-20T08:32:14.876Z","repository":{"id":371607330,"uuid":"1289527762","full_name":"bborbe/github-releaser-agent","owner":"bborbe","description":"GitHub releaser agent — extracted from bborbe/maintainer. Cuts CHANGELOG+tag releases via the agent framework; image docker.io/bborbe/github-releaser-agent.","archived":false,"fork":false,"pushed_at":"2026-07-16T06:27:04.000Z","size":246,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-07-20T08:32:13.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bborbe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-04T21:43:30.000Z","updated_at":"2026-07-16T06:27:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bborbe/github-releaser-agent","commit_stats":null,"previous_names":["bborbe/github-releaser-agent"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bborbe/github-releaser-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fgithub-releaser-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fgithub-releaser-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fgithub-releaser-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fgithub-releaser-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bborbe","download_url":"https://codeload.github.com/bborbe/github-releaser-agent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fgithub-releaser-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35681006,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"ssl_error","status_checked_at":"2026-07-20T02:08:09.736Z","response_time":111,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-20T08:32:14.133Z","updated_at":"2026-07-20T08:32:14.871Z","avatar_url":"https://github.com/bborbe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-releaser-agent\n\nAutonomous **release agent**. Given a repository with a non-empty `## Unreleased`\nblock in `CHANGELOG.md`, it classifies the semver bump, rewrites the header to\n`## vX.Y.Z`, then commits, tags, and pushes the release — deterministically, in\nGo (the Claude Code step only *classifies* the bump; the git writes are plain\ncode that touch `CHANGELOG.md` only).\n\nPart of the `bborbe` agent-maintenance fleet: the shared library lives in\n[`bborbe/maintainer`](https://github.com/bborbe/maintainer) (imported as\n`github.com/bborbe/maintainer`), the Helm chart ships there too, and the\npublished image is `docker.io/bborbe/github-releaser-agent`. Extracted from the\nformer `bborbe/maintainer` monorepo (`agent/github-releaser`). The upstream\nproducer that emits release tasks is\n[`bborbe/github-release-watcher`](https://github.com/bborbe/github-release-watcher).\n\n## How it works\n\n1. Read `CHANGELOG.md` and extract the `## Unreleased` bullets.\n2. Classify the semver bump (major / minor / patch) from those bullets.\n3. Compute the next version from the latest existing tag.\n4. Rewrite `## Unreleased` → `## vX.Y.Z` in `CHANGELOG.md`.\n5. Commit (`CHANGELOG.md` only — explicit path, never `git add -A`), tag\n   `vX.Y.Z`, and push commit + tag to `master`.\n\nOn a protected branch the push works because the releaser's GitHub App is a\n**bypass actor** in the repo's `master-protection` ruleset (see\n[`bborbe/maintainer`](https://github.com/bborbe/maintainer) — safety model:\nthe git writes are deterministic Go, not the LLM, and can only ever land a\nCHANGELOG + tag change).\n\n## Run modes\n\n| Mode | Entry | Use |\n|---|---|---|\n| Kubernetes Job | `main.go` (`/main` in the image) | Env-driven; spawned by the agent-task-executor from a Kafka release task. Production path. |\n| Local CLI | `cmd/run-task` | Flag-based; for local runs / debugging. |\n\n## Configuration\n\nEnv-driven (Kubernetes) — key variables:\n\n| Var | Purpose |\n|---|---|\n| `APP_ID` / `INSTALLATION_ID` | GitHub App identity for the releaser (bypass actor on the target ruleset) |\n| `PEM_KEY` | GitHub App private key (mounted from a Secret) |\n| `REPO_ALLOWLIST` | Repos the agent may release (e.g. `github.com/bborbe/*,!github.com/bborbe/go-skeleton`) |\n\nPer-repo opt-in is the target repo's `.maintainer.yaml` (`release.autoRelease: true`),\nenforced upstream by the release watcher.\n\n## Layout\n\n```\n.                    lib imported from github.com/bborbe/maintainer\n├── main.go          Kubernetes Job entry (env-driven; /main in the image)\n├── cmd/run-task/    local CLI\n├── pkg/             CHANGELOG parse + rewrite, semver classify, git ops,\n│                    GitHub App auth, bump plan/result output\n└── helm chart + shared lib live in bborbe/maintainer\n```\n\n## Build\n\n```bash\nmake precommit          # fmt, generate, test, lint, vet, vuln, license\nVERSION=vX.Y.Z make buca # build + push docker.io/bborbe/github-releaser-agent:vX.Y.Z\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbborbe%2Fgithub-releaser-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbborbe%2Fgithub-releaser-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbborbe%2Fgithub-releaser-agent/lists"}