A lightweight CLI audit tool to find GitHub Actions workflow references that are likely affected by Node runtime deprecations (including Node 20 retirement).
It scans workflow files across all repositories in an organization, then produces:
node-runtime-report.csv(repo/workflow/line/action details)node-runtime-summary.txt(top action refs by frequency)
When GitHub Actions runtimes are deprecated, enterprise customers often need a fast, programmatic way to answer:
- Which repositories are impacted?
- Which workflow files are impacted?
- Which action references should be updated first?
This tool provides exactly that baseline inventory.
- GitHub CLI (
gh) - Authenticated session (
gh auth login) - Shell:
bash(macOS and Linux supported)
git clone https://github.com/rsymo/github-actions-runtime-audit.git
cd github-actions-runtime-audit
chmod +x audit-node-runtime.sh
# Default org: rsymo-labs
./audit-node-runtime.sh
# Specific org
./audit-node-runtime.sh your-org-nameDetailed records:
| column | description |
|---|---|
repo |
owner/repo |
workflow |
workflow file path |
line |
line number in the workflow file |
action |
matching uses: reference |
Count of each matching action reference, sorted descending. Useful for prioritization.
For each flagged action:
- Bump to the latest major version that runs on the currently supported Actions runtime.
- Prefer jumping directly to the current supported major (for example, Node 24-based majors) instead of intermediate deprecated majors.
- Validate workflow behavior in CI after version bumps.
Typical examples:
actions/checkout@v3→actions/checkout@v5actions/setup-python@v4→actions/setup-python@v6
Always confirm against the latest upstream release notes for each action.
- Scans only files in
.github/workflows/. - Detects
uses:references via pattern matching. - Does not recursively inspect reusable/composite actions stored outside workflow files.
- Pattern list is intentionally editable in-script so it can track evolving deprecation announcements.
Update the PATTERNS block in audit-node-runtime.sh when GitHub publishes new runtime deprecation notices:
This project is licensed under the MIT License.