gh-actions-doc-auto-merge-develop

Create a GitHub Actions workflow that merges production into the doc branch.

11|1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/Takazudo/claude-resources --skill gh-actions-doc-auto-merge-develop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-actions-doc-auto-merge-develop
Source: https://github.com/Takazudo/claude-resources/tree/main/skills/gh-actions-doc-auto-merge-develop
Command: npx skills add https://github.com/Takazudo/claude-resources --skill gh-actions-doc-auto-merge-develop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates keeping the documentation branch in sync by merging changes from production.

Core Features & Use Cases

  • Auto-merge production into the documentation deploy branch when updates are pushed to production.
  • Prevent duplicate workflows by checking for an existing sync workflow in .github/workflows/.
  • Generate a workflow file named .github/workflows/sync-<production>-to-<doc>.yml configured to merge changes from <production> into <doc>.

Quick Start

Push changes to the production branch to trigger or update the doc branch automatically.

Frequently Asked Questions about gh-actions-doc-auto-merge-develop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically merge a production branch into a documentation branch?

You can automatically merge a production branch into a documentation branch by creating a GitHub Actions workflow that triggers on production updates and performs the merge. This Skill generates that workflow file to sync changes automatically.

Why do my GitHub Actions workflow files keep duplicating when syncing branches?

Duplicate GitHub Actions workflow files occur when sync workflows are repeatedly created without checking existing configurations. This Skill prevents duplicates by checking the .github/workflows/ directory for an existing sync workflow before generating a new one.

What is the best way to keep a docs deploy branch updated with main?

The best way to keep a docs deploy branch updated with main is to automate the branch sync using GitHub Actions. This Skill automates the merge process, ensuring your documentation branch reflects production after each update.

How do I configure CI CD for automatic branch sync in GitHub?

You configure CI CD for automatic branch sync by generating a workflow file named sync-<production>-to-<doc>.yml in your repository. This workflow handles the automated merge from your production branch into your doc branch.

Do I need to manually trigger the workflow to merge production into doc?

No, you do not need to manually trigger the workflow to merge production into doc. The generated GitHub Actions workflow automatically initiates the merge whenever changes are pushed to the production branch.