ReleaseRun Stack Health Check
March 12, 2026 ยท View on GitHub
Scan your project for end-of-life dependencies, known CVEs, and version health issues. Get an A-F grade for your entire tech stack in CI.
Quick Start
- uses: Releaserun/releaserun-action@v2
That's it. Add it to any workflow and it'll scan your project, post a health report as a PR comment, and optionally fail the build if your stack health drops below a threshold.
What It Checks
- package.json / package-lock.json (Node.js, npm)
- requirements.txt / Pipfile (Python)
- go.mod (Go)
- Gemfile / Gemfile.lock (Ruby)
- pom.xml (Java/Maven)
- Dockerfile (Docker base images)
- docker-compose.yml (Service versions)
- .terraform.lock.hcl (Terraform providers)
For each detected technology, it checks:
- Current version vs latest
- End-of-life status and dates
- Known CVEs from OSV database
- Overall health grade (A through F)
Usage
Basic (scan and comment on PRs)
name: Stack Health
on: [pull_request]
jobs:
health-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Releaserun/releaserun-action@v2
Fail on low grades
- uses: Releaserun/releaserun-action@v2
with:
fail-on: 'D' # Fail if any tech grades D or F
Scan a specific directory
- uses: Releaserun/releaserun-action@v2
with:
path: './backend'
JSON output for scripting
- uses: Releaserun/releaserun-action@v2
id: health
with:
format: 'json'
comment: 'false'
- run: echo "Grade is ${{ steps.health.outputs.grade }}"
Auto-update README badges
When update-readme is true, the action runs releaserun readme --write on PRs to commit version-specific badges directly to your README:
name: Stack Health
on: [pull_request]
jobs:
health-check:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: Releaserun/releaserun-action@v2
with:
update-readme: 'true'
Version-specific badge output
As of CLI 1.1.0, badges are version-specific. The badge-markdown output contains copy-paste-ready markdown:
- uses: Releaserun/releaserun-action@v2
id: health
- run: echo "${{ steps.health.outputs.badge-markdown }}"
# Example output:
# [](https://releaserun.com/nodejs/)
# [](https://releaserun.com/python/)
Scheduled checks
name: Weekly Stack Health
on:
schedule:
- cron: '0 9 * * 1' # Every Monday at 9am
jobs:
health-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Releaserun/releaserun-action@v2
with:
comment: 'false'
fail-on: 'D'
Ready-to-use Examples
The examples/ directory has copy-paste workflow files:
| File | Use case |
|---|---|
basic.yml | Minimal setup โ scan on push and PRs, fail only on F |
pr-comment.yml | Health report on every PR, never blocks merge |
weekly-report.yml | Monday audit + auto-create issue if grade drops to C/D/F |
strict.yml | Block merges if any technology grades C or below |
Inputs
| Input | Default | Description |
|---|---|---|
path | . | Directory to scan |
fail-on | F | Fail if grade is at or below this (A/B/C/D/F/none) |
format | table | Output format: table or json |
comment | true | Post results as PR comment |
badge | true | Include health badges in PR comment |
update-readme | false | Auto-update README with health badges on PRs |
Outputs
| Output | Description |
|---|---|
grade | Overall stack health grade (A-F) |
technologies | Number of technologies detected |
eol-count | Number of EOL technologies |
cve-count | Total CVE count |
report | Full JSON report |
badge-markdown | Version-specific badge markdown for READMEs |
PR Comment Example
The action posts a formatted table as a PR comment:
๐ก Stack Health Report โ Grade: B
Metric Value Technologies scanned 5 EOL dependencies 1 Known CVEs 3 Overall grade B Details
Technology Version EOL CVEs Grade Node.js 20.11.0 2026-04-30 0 A Python 3.11.7 2027-10-24 1 B PostgreSQL 15.4 2027-11-11 2 B Docker 25.0 Active 0 A Kubernetes 1.28 2025-10-28 0 C
Links
- ReleaseRun Tools โ 30+ free developer tools
- CLI on npm โ Run locally without the Action
- Badge Generator โ SVG badges for your README
- Badge API Docs โ Full badge API reference with code examples
- Stack Health Scorecard โ Interactive web version
- EOL Timeline โ Visual EOL tracker
License
MIT