authorise-change-request

command
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

README

Authorise Change Request

A flow chart to authorise change requests

Getting started

go run .

This will trigger the workflow with some input data and print everything to the console.

There are two prompts at runtime:

  1. Should we approve or reject the change? Approve by default.
  2. After how long should the response be sent? 15 seconds by default.

Flow

flowchart TD
    Start --> B{ Branch }
    B --> C[Notify reviewer]
    C --> D{ Decision }
    REMIND2 --> |Change auto-applied| F
    D --> |Change accepted| F[Apply changes]
    F --> G[Notify of result]
    G --> END
    D --> |Change rejected| G
    B --> REMIND1((30 seconds passed)) --> C
    B --> REMIND2((1 minute passed))
  1. Start the workflow
  2. Notify the review (reminds after 30 seconds)
  3. Reviewer approves (auto-approves after 1 minute):
    1. Applies change
    2. Notifies user
    3. End
  4. Review rejects:
    1. Notifies user
    2. End

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL