$ cd ~/projects orcastrate Keep shared workflow templates in sync across repositories ──────────────────────────────────────────────────── A tool to define canonical workflow templates once, sync them across repositories, and open PRs when they drift. tags: Rust, DevOps, GitHub Actions ──────────────────────────────────────────────────── ## Define a workflow once Keep canonical workflow templates and a repository list in an orchestrator repository. Managed files opt in through comment frontmatter that selects a template and supplies parameters. Orcastrate renders the template, compares it with the file, and opens a pull request when they differ. Files without the management block stay outside the workflow. Each changed workflow gets its own pull request. Later runs update an existing sync pull request instead of creating duplicates. Configuration supports explicit repositories, discovery by organization topic, and selected extra files such as shared TOML configuration. orcastrate on GitHub https://github.com/michidk/orcastrate ──────────────────────────────────────────────────── ## Review drift before changing repositories Run Orcastrate as a scheduled GitHub Action or use its Rust CLI. Dry-run and drift commands show pending changes, while local rendering checks a workflow and its parameters without GitHub credentials. Templates use Tera syntax for reusable values and defaults. By default, synchronization preserves existing action tags and SHA pins, allowing a dependency updater to manage versions independently. Other workflow changes still produce reviewable pull requests. A setting can make template action versions authoritative when that is the intended policy. Orcastrate configuration guide https://github.com/michidk/orcastrate#configuration Example sync pull request https://github.com/michidk/orcastrate/pull/6 ──────────────────────────────────────────────────── $ ls ~/pages > about curl -L lohr.dev > projects curl -L lohr.dev/projects > blog curl -L lohr.dev/blog > stats curl -L lohr.dev/stats > contact curl -L lohr.dev/contact ──────────────────────────────────────────────────── https://lohr.dev