doc/user/project/integrations/github.md
{{< details >}}
{{< /details >}}
You can update GitHub with pipeline status updates from GitLab. The GitHub integration can help you if you use GitLab for CI/CD.
This project integration is separate from the instance-wide GitHub integration and is automatically configured when you import a GitHub project.
This integration requires a GitHub API token
with repo:status access granted.
Complete these steps on GitHub:
repo:status is selected and select Generate token.Complete these steps in GitLab:
https://github.com/username/repository.After configuring the integration, see Pipelines for external pull requests to configure pipelines to run for open pull requests.
A status check name can be static or dynamic:
Static: The hostname of your GitLab instance is appended to the status check name.
Dynamic: The branch name is appended to the status check name.
The Enable static status check names option enables you to configure required status checks in GitHub, which need a consistent (static) name to work correctly.
If you disable this option, GitLab uses dynamic status check names instead.