GitHub Enterprise Support
danger
I (@suzuki-shunsuke) don't use GitHub Enterprise, so I can't confirm if github-comment works well for GitHub Enterprise.
github-comment >= v4.2.0
note
From github-comment v6.2.0,
github-comment gets GitHub API endpoints from environment variables GITHUB_API_URL
and GITHUB_GRAPHQL_URL
, which are built-in variables of GitHub Actions.
Please set the following fields in configuration file github-comment.yaml
.
GitHub Enterprise Server
ghe_base_url: http(s)://<your_enterprise_hostname> # CHANGE
ghe_graphql_endpoint: http(s)://<your_enterprise_hostname>/api/graphql # CHANGE
GitHub Enterprise Cloud
ghe_base_url: https://api.github.com
ghe_graphql_endpoint: https://api.github.com/graphql