Skip to content

GitHub Enterprise Server support #23

Description

@r-bujnowski

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions