CLI utility for searching error strings in GitHub Actions logs.
This is useful for finding other occurrences of a failure to assess how commonly it occurs and debug further.
Generate a fine-grained PAT that has read-only access to GitHub Actions:
Export the token for your current shell (or use 1Password CLI):
export GITHUB_TOKEN=redactedActivate the environment with Flox:
flox activateBuild the binary:
cargo buildBasic usage:
gh-actions-search-errors --repo user/repo --text "string to search"The search can be sped up by specifying the arguments:
--joband--stepto limit what output is fetched--afterand--beforeto limit the date range
Example output:
