💻 Coding

GitHub Actions Workflow Failure Triage Runbook (No Invented Success Rates)

Build a GitHub Actions workflow failure triage runbook from a pasted log excerpt and related notes. No invented success rates, duration SLAs, secret values, flaky-test percents beyond Inputs.

0.0
0Reviews
P
September 19, 2026

Prompt

Act as a GitHub Actions CI triage lead who only uses a pasted log excerpt. You write a workflow failure triage runbook the excerpt already supports. You do not invent success rates, duration SLAs, secret values, flaky-test percents not in Inputs. This is not a GitHub Enterprise sales deck; not a security audit certificate.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.

Inputs:
- Log excerpt I lock (job names, step names, error lines present): [LogExcerpt]
- Job notes I lock (owners or branches named only if present): [JobNotes]
- GitHub Actions / version notes I lock: [Version]
- Repo or workflow label I may quote (or UNKNOWN): [WorkflowLabel]
- Failure stage labels already present (or UNKNOWN): [FailureStages]
- Triage field names already present (or UNKNOWN): [TriageFields]
- Flag rules already present (or UNKNOWN): [FlagRules]
- Words I must not use: [Banned]
- What I must never invent (success rates, duration SLAs, secret values, flaky-test percents): [Never]
- Output format: [Format]
- Language: [Lang]

Generate:
1. Honesty ledger: LogExcerpt nouns, JobNotes, Version, WorkflowLabel, FailureStages, TriageFields, FlagRules, Lang. Forbidden: invented success rates, duration SLAs, secret values, flaky-test percents. Banner: not a GitHub Enterprise sales deck; not a security audit certificate.
2. Workflow failure triage runbook: numbered steps keyed to FailureStages. For each, list TriageFields to verify and FlagRules triggers. Missing FlagRules write NOT IN INPUTS. Use GitHub Actions Jobs, Steps, and Artifacts language when LogExcerpt supports it. Never print success-rate or duration VALUES not in LogExcerpt or JobNotes.
3. Job lock: quote JobNotes only. Unnamed items stay NOT IN INPUTS.
4. Version lock: print Version. Refuse GitHub Actions features newer than Version if Version is named.
5. Refuse list: inventing success rates; inventing duration SLAs; inventing secret values; inventing flaky-test percents.
6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format.

Constraints:
- Deliverable from LogExcerpt and JobNotes only. No invented success rates VALUES. Teach GitHub Actions workflows, not a CircleCI or GitLab CI swap.
- Honor Version. No emojis. Add a one-line not-advice banner.

Instructions

Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.

Generated Output

This image was generated using the prompt above.

GitHub Actions Workflow Failure Triage Runbook (No Invented Success Rates) - Result

Examples

Example Input

LogExcerpt: Harbor Quay build job as pasted error npm as pasted; River Ops deploy job as pasted error secrets as pasted. Success invent NONE. Duration invent NONE.
JobNotes: owner platform as pasted; branch UNKNOWN. Secret values invent NONE.
Version: GitHub Actions as pasted (do not invent unreleased AI fix pack)
WorkflowLabel: Harbor Quay ci.yml as pasted
FailureStages: install as pasted; deploy as pasted. test UNKNOWN.
TriageFields: error line as pasted; rollback cue as pasted. success rate UNKNOWN.
FlagRules: secrets redaction flag as pasted. Flaky percent NOT IN INPUTS.
Banned: guaranteed green, success invent, duration invent, secret invent
Never: invent success rates, invent duration SLAs, invent secret values, invent flaky-test percents
Format: ledger + runbook + job + version + refuse + compliance
Lang: English

Example Output

1. Ledger. LogExcerpt: Harbor Quay build job as pasted error npm as pasted; River Ops deploy job as pasted error secrets as pasted. Success invent NONE. Duration invent NONE. JobNotes owner platform as pasted; branch UNKNOWN. Version GitHub Actions as pasted. WorkflowLabel Harbor Quay ci.yml. FailureStages install; deploy; test UNKNOWN.. TriageFields error line; rollback cue; success rate UNKNOWN.. FlagRules secrets redaction flag as pasted. Flaky percent NOT IN INPUTS. Lang English. Banner: not a GitHub Enterprise sales deck; not a security audit certificate. Forbidden: invented success rates, duration SLAs, secret values, flaky-test percents, guaranteed green.

2. Workflow failure triage runbook.
1. install | LogExcerpt Harbor Quay build job | TriageFields error line + rollback cue | FlagRules secrets redaction not triggered | success VALUES NONE | GitHub Actions Jobs triage only.
2. deploy | LogExcerpt River Ops deploy job | TriageFields error line + rollback cue | FlagRules secrets redaction flag as pasted | secret VALUES NONE.
test UNKNOWN so write FailureStages test NOT IN INPUTS. success rate UNKNOWN so write success VALUES NOT IN INPUTS.

3. Job lock. owner platform as pasted. branch UNKNOWN so NOT IN INPUTS. Secret values invent NONE.

4. Version lock. GitHub Actions as pasted. Refuse unreleased AI fix pack.

5. Refuse list. inventing success rates; inventing duration SLAs; inventing secret values; inventing flaky-test percents.

6. Compliance. Quoted Banned: guaranteed green, success invent, duration invent, secret invent. Cut. Quoted Never: invent success rates, invent duration SLAs, invent secret values, invent flaky-test percents. Cut. Format ledger + runbook + job + version + refuse + compliance.

Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.

Reviews (0)

Please login to leave a review.
Loading reviews...