Skip to content

[WORKFLOW] Create Monitoring & Merging Workflow #6

@raegAI

Description

@raegAI

@claude Please create a new GitHub Actions workflow file .github/workflows/claude-monitor-merge.yml that:

Requirements:

  • Monitors the completion of all Claude Code automation workflows
  • Triggers after the documentation workflow completes successfully
  • Performs final quality checks and merges successful changes
  • Handles workflow status monitoring and error reporting

Monitoring Features:

  • Check status of all previous workflows (claude.yml, claude-test-debug.yml, claude-documentation.yml)
  • Validate that all tests passed and documentation was generated
  • Verify that no critical errors occurred during the automation pipeline
  • Ensure branch is ready for merging

Quality Gates:

  • All tests must pass (no test failures)
  • No linting errors or warnings
  • Documentation must be successfully generated
  • All workflow artifacts must be present
  • No security vulnerabilities introduced

Merging Logic:

  • Only merge if ALL quality gates pass
  • Create detailed merge commit message with automation summary
  • Auto-merge pull requests that were created by Claude Code
  • Close related issues when merge is successful
  • Tag releases if version changes detected

Error Handling:

  • If quality gates fail, comment on original issue with details
  • Provide specific failure reasons and suggested fixes
  • Keep PR open for manual review if automated fixes aren't possible
  • Create follow-up issues for any unresolved problems

Integration:

  • Access to merge permissions on repository
  • Ability to read all workflow artifacts and statuses
  • Comment capabilities on issues and PRs
  • Release tagging permissions if needed

Reporting:

  • Update original issue with final status
  • Create summary comment on merged PRs
  • Generate workflow completion notifications
  • Archive successful automation artifacts

Please implement this workflow with comprehensive monitoring and safe merging practices.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions