feat: add token health check composite action - #155
Merged
Conversation
Validates a GitHub token (PAT or App) is healthy before workflows depend on it. Checks: HTTP auth (401/403 fast-fail), OAuth scopes, rate limit remaining, and token expiry (for App installation tokens). Addresses FM3 from automation audit (token expiry silent failures). Assisted-by: Claude Sonnet 4.5 via pi
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This was referenced Jun 11, 2026
Closed
castrojo
added a commit
that referenced
this pull request
Jun 11, 2026
* ci(actions): wire check-token-health into reusable-renovate.yml Add RENOVATE_TOKEN validation as the first step in the Renovate job. The check-token-health composite action (added in #155) now gates the Renovate run — invalid or expired tokens fail fast with a clear error instead of cascading silently. Assisted-by: claude-sonnet-4.6 via pi * docs(skills): add consumer-validation body format pitfall Document the critical pitfall: PR bodies using markdown headings (## Consumer PR) instead of the colon format (Consumer PR: <URL>) cause silent failures in the consumer validation CI check. Add guidance for creating consumer PRs via GitHub API for internal-only reusable workflows (like reusable-renovate.yml) that don't have direct consumer callers but still trigger the validation check. Assisted-by: claude-sonnet-4.6 via pi --------- Co-authored-by: Jorge Castro <jorge@castrojo.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Automation audit Phase 4: composite action that validates a GitHub token is healthy before workflows depend on it.
Addresses FM3 (token expiry silent failures) from the automation audit.
Usage:
Checks:
Closes #583 (Phase 4 of automation audit).
Assisted-by: Claude Sonnet 4.5 via pi