Skip to content

Photon101/github-ci-pr-rescue-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub CI and PR Rescue Starter

Small starter for turning failing GitHub Actions logs and review feedback into a clean rescue packet: what failed, why it likely failed, what to fix first, and what evidence to hand back to a maintainer or client.

It contains:

  • Dependency-free JavaScript helpers for redacting secrets and parsing CI logs.
  • Failure classification for tests, lint, type checks, builds, dependencies, missing env vars, permissions, and flaky network issues.
  • Review-thread summarization for unresolved PR comments and requested changes.
  • A no-dependency test suite and demo with safe sample fixtures.

Quick Start

npm test
npm run demo

Files

  • src/ci-pr-rescue.mjs: pure CI and review-triage logic.
  • test/ci-pr-rescue.test.mjs: regression tests for redaction, classification, and packet building.
  • tools/demo.mjs: prints a sample rescue packet as JSON.
  • examples/: safe GitHub Actions log and PR review fixtures.

What This Is For

Use this when a repo has problems such as:

  • GitHub Actions failing with unclear logs.
  • A PR blocked by review comments, type errors, lint failures, or missing tests.
  • A client needing a concise repair plan before paying for a full fix.
  • Maintainers needing a redacted handoff packet that does not leak tokens, emails, cookies, or env values.

Adaptation Notes

For real client work, export the failing job log from GitHub Actions, collect unresolved review comments, and run this packet builder locally. Keep private source code and credentials out of public fixtures. The redaction helpers are conservative and designed for shareable diagnostics, not for replacing a full secret scanner.

This starter deliberately avoids paid services, GitHub API credentials, and external dependencies by default.

About

Dependency-free starter for redacted GitHub Actions CI and PR review rescue packets

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors