{"id":51202083,"url":"https://github.com/stablekernel/cascade-example-release-only","last_synced_at":"2026-06-30T12:00:36.840Z","repository":{"id":365145895,"uuid":"1266976776","full_name":"stablekernel/cascade-example-release-only","owner":"stablekernel","description":"Cascade example: 0-environment release-only pipeline (version and release lifecycle, no deploys).","archived":false,"fork":false,"pushed_at":"2026-06-28T00:48:50.000Z","size":182,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-28T01:19:22.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stablekernel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-12T05:45:28.000Z","updated_at":"2026-06-28T00:48:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/stablekernel/cascade-example-release-only","commit_stats":null,"previous_names":["stablekernel/cascade-example-release-only"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/stablekernel/cascade-example-release-only","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stablekernel%2Fcascade-example-release-only","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stablekernel%2Fcascade-example-release-only/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stablekernel%2Fcascade-example-release-only/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stablekernel%2Fcascade-example-release-only/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stablekernel","download_url":"https://codeload.github.com/stablekernel/cascade-example-release-only/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stablekernel%2Fcascade-example-release-only/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34965643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-06-28T01:01:35.308Z","updated_at":"2026-06-30T12:00:36.821Z","avatar_url":"https://github.com/stablekernel.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# cascade-example-release-only\n\nA minimal, runnable example of [cascade](https://github.com/stablekernel/cascade)\ndriving a release-only pipeline with zero deploy environments.\n\n## What this demonstrates\n\nThis repository exercises the smallest end of cascade: a library-style project\nthat has no environments to promote through, only a release lifecycle. cascade\nwatches trunk, and on every qualifying change it:\n\n- runs a build callback (`build-lib`),\n- generates a changelog with a Contributors section, and\n- mints a release-candidate draft, then publishes it as a final release.\n\nThe feature slice shown here:\n\n- **Zero environments.** State lives under an implicit `prerelease` key rather\n  than per-environment keys.\n- **`tag_prefix: rel-`.** Tags are `rel-\u003cversion\u003e` (for example `rel-1.0.0-rc.0`\n  while a candidate, `rel-1.0.0` once published) instead of the default `v` prefix.\n- **Contributor changelog.** Release notes include a Contributors section.\n- **State loop.** cascade records the released version and committer back into\n  the manifest under `ci.state.prerelease`.\n\n## Layout\n\n| Path | Role |\n|------|------|\n| `.github/manifest.yaml` | The cascade manifest. Edit this, then regenerate. |\n| `.github/workflows/build-lib.yaml` | Stub build callback (echo and sleep). |\n| `.github/workflows/orchestrate.yaml` | Generated. Runs on trunk changes; mints the RC draft. |\n| `.github/workflows/promote.yaml` | Generated. Publishes the prerelease into a final release. |\n| `.github/actions/manage-release/` | Generated composite action used by the workflows. |\n| `.github/workflows/scenario-suite.yaml` | Hand-written end-to-end check of the full lifecycle. |\n\n## Regenerating the workflows\n\nThe orchestrate and promote workflows and the `manage-release` action are\nproduced by cascade from the manifest. After editing `.github/manifest.yaml`,\nregenerate them:\n\n```sh\ncascade generate-workflow --config .github/manifest.yaml --force\n```\n\nThe cascade CLI version is pinned through the `cli_version` field in the\nmanifest, which the generated workflows reference when they install the CLI.\n\n## The scenario suite\n\n`scenario-suite.yaml` is a hand-written driver that runs the whole release\nlifecycle against this repository and asserts the outcome at each stage. It\nresets to a clean slate, commits a change under `src/` to start orchestrate,\nasserts that a `rel-*-rc.*` draft and tag appear with populated prerelease\nstate, dispatches promote, then asserts a published `rel-\u003csemver\u003e` release that\nis marked latest, with the candidate tags cleaned up and a Contributors section\nin the body.\n\nIt runs on a daily schedule and on manual dispatch. It needs a `CASCADE_STATE_TEST_TOKEN`\nrepository secret with permission to push to trunk and manage releases.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstablekernel%2Fcascade-example-release-only","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstablekernel%2Fcascade-example-release-only","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstablekernel%2Fcascade-example-release-only/lists"}