StackGuardian / StackGuardian/tirith
feat(platform): reuse an existing StackGuardian workflow in `tirith platform check`
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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