File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,3 @@ work, we store a pipeline trigger (obtained from GitLab's `Settings -> CI/CD
3939and variables -> Actions -> Repository secrets`. The GitHub workflow waits
4040for the result of the GitLab pipeline result and posts the final status and
4141a link to the result as a comment.
42-
43- There is one complication with this approach. The GitHub PR triggered
44- pipeline appears on GitLab under the title of the latest commit of the
45- default branch (i.e., development), which can be confusing. To address this,
46- we add a step in the GitHub workflow to change the GitLab pipeline's name to
47- the PR's title. This step requires an API token, which diffs from the
48- pipeline trigger token. A project API token can be created from the
49- project's ` Settings -> Access tokens ` . It needs ` api ` scopes and the
50- ` Maintainer ` role. The token will expire in one year. After creating a key,
51- you must copy and store it on GitHub before leaving the page, as it will
52- become invisible afterward.
You can’t perform that action at this time.
0 commit comments