36 Star 150 Fork 1

Gitee 极速下载 / gitlabhq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/gitlabhq/gitlabhq
克隆/下载
github.md 2.63 KB
一键复制 编辑 原始数据 按行查看 历史
stage group info
Verify
Pipeline Execution
To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments

GitHub

DETAILS: Tier: Premium, Ultimate Offering: GitLab.com, Self-managed, GitLab Dedicated

You can update GitHub with pipeline status updates from GitLab. The GitHub integration can help you if you use GitLab for CI/CD.

Pipeline status update on GitHub

This project integration is separate from the instance-wide GitHub integration and is automatically configured when you import a GitHub project.

Configure the integration

This integration requires a GitHub API token with repo:status access granted.

Complete these steps on GitHub:

  1. Go to your Personal access tokens page at https://github.com/settings/tokens.
  2. Select Generate new token.
  3. Under Note, enter a name for the new token.
  4. Ensure repo:status is selected and select Generate token.
  5. Copy the generated token to use in GitLab.

Complete these steps in GitLab:

  1. On the left sidebar, select Search or go to and find your project.
  2. Select Settings > Integrations.
  3. Select GitHub.
  4. Ensure the Active checkbox is selected.
  5. In Token, paste the token you generated on GitHub.
  6. In Repository URL, enter the path to your project on GitHub, such as https://github.com/username/repository.
  7. Optional. To disable static status check names, clear the Enable static status check names checkbox.
  8. Optional. Select Test settings.
  9. Select Save changes.

After configuring the integration, see Pipelines for external pull requests to configure pipelines to run for open pull requests.

Static or dynamic status check names

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.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Ruby
1
https://gitee.com/mirrors/gitlab.git
git@gitee.com:mirrors/gitlab.git
mirrors
gitlab
gitlabhq
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891