Skip to content

Rajeshcn26/Cutover-Trigger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ› οΈ GitHub IssueOps: /cutover Command Automation

This repository implements an automated IssueOps workflow using GitHub Actions and a Ruby script to handle a custom /cutover <SNOW-ID> command in issue comments.


πŸ’‘ Features

  • βœ… Listens for GitHub issue comments starting with /cutover.
  • πŸ§ͺ Validates the command format (expects /cutover <SNOW-ID>).
  • πŸ”– Automatically creates a GitHub label using the SNOW-ID and a specific color (#002b36).
  • πŸ“Œ Applies the label to the issue that received the comment.
  • ❌ If the format is invalid (e.g. just /cutover), it reacts with ❌ and replies with usage guidance.

πŸ§‘β€πŸ’» How to Use

  1. Go to any GitHub issue.

  2. Post a comment in the format:

    /cutover INC1234567
    
  3. The workflow will:

    • Create a label named INC1234567 (with dark blue color).
    • Attach it to the issue.

    If the command is invalid, like:

    /cutover
    

Then:

  • A ❌ reaction will be added to the comment.
  • A response will be posted with the correct usage format.

πŸ—‚οΈ Project Structure

.github/
β”œβ”€β”€ scripts/
β”‚   └── process_cutover_command.rb   # Ruby script for command processing
└── workflows/
    └── cutover.yml                  # GitHub Actions workflow

About

Cutover-Trigger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published