StackGuardian / StackGuardian/tirith

feat(platform): reuse an existing StackGuardian workflow in `tirith platform check`

Open
#306 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
165
Forks
42
Avg merge
1d 3h
Merged PRs (30d)
11

Description

--workflow-id creates the workflow if absent and stamps creation-time settings
(--terraform-version, --repo-url). Organizations already on StackGuardian — with workflows,
connectors and policies configured in the dashboard — want the CLI as an alternate driver of
those same workflows, not a creator of parallel ones.

Proposal. An explicit reuse mode (e.g. --existing-workflow / --no-create): fail with a
clear message if the workflow does not exist, never mutate its stored settings, run against its
configured connectors/policies, and print the workflow + run URLs. Document "you use StackGuardian,
now drive it from CI or a laptop" as a first-class flow.

Acceptance. A check run against a pre-existing workflow changes nothing on the workflow object;
a miss in reuse mode exits with guidance instead of creating; docs cover the scenario end to end.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how tirith platform check handles --workflow-id, workflow creation, and stored settings, then review the CLI documentation entry points. Done means an explicit reuse mode fails with guidance when the workflow is missing, leaves existing workflow settings unchanged, prints workflow and run URLs, and documents the end-to-end CI or laptop flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.