<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # GitHub project integration > 原文:[https://docs.gitlab.com/ee/user/project/integrations/github.html](https://docs.gitlab.com/ee/user/project/integrations/github.html) * [Configuration](#configuration) * [Complete these steps on GitHub](#complete-these-steps-on-github) * [Complete these steps on GitLab](#complete-these-steps-on-gitlab) * [Static / dynamic status check names](#static--dynamic-status-check-names) # GitHub project integration[](#github-project-integration-premium "Permalink") 在 GitLab Premium 10.6 中[引入](https://gitlab.com/gitlab-org/gitlab/-/issues/3836) . GitLab 提供了一個集成,用于更新 GitHub 上的管道狀態. 如果僅將 GitLab 用于 CI / CD,這將特別有用. 此項目集成與[實例范圍的 GitHub 集成](../import/github.html#mirroring-and-pipeline-status-sharing)分開,并且在[GitHub import](../../../integration/github.html)上自動配置. [![Pipeline status update on GitHub](https://img.kancloud.cn/49/42/4942352941d4403deace580483f3af5c_710x280.png)](img/github_status_check_pipeline_update.png) ## Configuration[](#configuration "Permalink") ### Complete these steps on GitHub[](#complete-these-steps-on-github "Permalink") 此集成需要[GitHub API 令牌,](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token)并授予`repo:status`訪問權限: 1. 轉到[https://github.com/settings/tokens 上的](https://github.com/settings/tokens) "個人訪問令牌"頁面. 2. 點擊"生成新令牌" 3. 確保選中`repo:status`并單擊" Generate token" 4. 復制生成的令牌以在 GitLab 上使用 ### Complete these steps on GitLab[](#complete-these-steps-on-gitlab "Permalink") 1. Navigate to the project you want to configure. 2. 導航到" [集成"頁面](overview.html#accessing-integrations) 3. 點擊" GitHub". 4. 確保啟用了**活動**切換. 5. 粘貼您在 GitHub 上生成的令牌 6. 輸入您在 GitHub 上的項目的路徑,例如`https://github.com/username/repository` 7. (可選)取消選中" **靜態狀態檢查名稱"**復選框以禁用靜態狀態檢查名稱. 8. 保存或選擇單擊"測試設置". 配置完集成后,請參閱[外部請求請求的](../../../ci/ci_cd_for_external_repos/#pipelines-for-external-pull-requests)管道,以配置要為打開請求請求運行的管道. #### Static / dynamic status check names[](#static--dynamic-status-check-names "Permalink") 版本歷史 * 在 GitLab 11.5 中引入:使用靜態檢查名稱作為選擇加入選項. * [在 GitLab 12.4 中](https://gitlab.com/gitlab-org/gitlab/-/issues/9931) ,靜態狀態檢查名稱是新項目的默認行為. This makes it possible to mark these status checks as *Required* on GitHub. 這樣就可以在 GitHub 上將這些狀態檢查標記為" *必需* ". With **Static status check names** enabled on the integration page, your GitLab instance host name is going to be appended to a status check name, whereas in case of dynamic status check names, a branch name is going to be appended. 在集成頁面上啟用了**靜態狀態檢查名稱后** ,您的 GitLab 實例主機名將被附加到狀態檢查名稱中,而在動態狀態檢查名的情況下將被添加分支名稱. [![Configure GitHub Project Integration](https://img.kancloud.cn/a4/74/a47407d183505c56432f1282a70e7ff3_1116x335.png)](img/github_configuration.png)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看