Pull Requests | Issues | v6.1.0...v6.2.0
Features
#1490 Get GitHub API endpoints from environment variables GITHUB_API_URL
and GITHUB_GRAPHQL_URL
About these environment variables, please see the document.
- GitHub Enterprise Server: https://docs.github.com/en/enterprise-server@3.13/actions/writing-workflows/choosing-what-your-workflow-does/variables
- GitHub Enterprise Cloud: https://docs.github.com/en/enterprise-cloud@latest/actions/writing-workflows/choosing-what-your-workflow-does/variables
- GitHub (github.com): https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/variables
If you use GitHub Enterprise Server, you had to configure ghe_base_url
and ghe_graphql_endpoint
in the configuration file.
https://suzuki-shunsuke.github.io/github-comment/github-enterprise
From this release, github-comment gets these variables from environment variables GITHUB_API_URL
and GITHUB_GRAPHQL_URL
.
They are GitHub Actions' built in environment variables, so you don't have to set them in GitHub Actions.