A walkthrough of building a custom JavaScript-based GitHub Action that automatically cherry-picks pull request commits to target branches based on PR labels. The author shares the motivation (automating repetitive documentation sync across release branches for EventStoreDB), the architecture decision to host shared actions in a dedicated repository, and practical pitfalls encountered — including the need to commit node_modules and .gitignore conflicts. Includes a working YAML workflow snippet and links to the open-source action code using the Octokit SDK.

6m read timeFrom event-driven.io
Post cover image
1 Impression