Hi,
I am trying to use gha-failure-analysis action in our repository kept on GitHub Enterprise Server and get errors like below:
Failed to initialize disk cache, falling back to memory-only cache: [Errno 13] Cache directory "/github/home/.dspy_cache/000" does not exist and could not be created
2026-06-16 12:19:29,966 - gha_failure_analysis.main - ERROR - Fatal error: 401 {"message": "Bad credentials", "documentation_url": "https://docs.github.com/rest", "status": "401"}
I checked code and it looks that action tries to fetch workflow logs using public GitHub API:
src/gha_failure_analysis/github/client.py:
137:url = f"https://api.github.com/repos/{repository}/actions/jobs/{job_id}/logs"
170:url = f"https://api.github.com/repos/{repository}/actions/runs/{run_id}/logs"
Is it possible to provide support for GitHub Enterprise Server?
Thank you,
Rafal Bujnowski
Hi,
I am trying to use gha-failure-analysis action in our repository kept on GitHub Enterprise Server and get errors like below:
I checked code and it looks that action tries to fetch workflow logs using public GitHub API:
src/gha_failure_analysis/github/client.py:
Is it possible to provide support for GitHub Enterprise Server?
Thank you,
Rafal Bujnowski