Skip to content

Commit b8ca7f1

Browse files
authored
Update GitLab token documentation links
1 parent d780e82 commit b8ca7f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/definitions/errors.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ By default the \`repositoryUrl\` option is retrieved from the \`repository\` pro
4949
message: 'Invalid GitLab token.',
5050
details: `The [GitLab token](${linkify(
5151
'README.md#gitlab-authentication'
52-
)}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must be a valid [personal access token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html) allowing to push to the repository ${projectPath}.
52+
)}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must be a valid [personal access token](https://docs.gitlab.com/user/profile/personal_access_tokens/) allowing to push to the repository ${projectPath}.
5353
5454
Please make sure to set the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable in your CI with the exact value of the GitLab personal token.`,
5555
}),
@@ -69,22 +69,22 @@ If you are using [GitLab Enterprise Edition](https://about.gitlab.com/gitlab-ee)
6969
'README.md#gitlab-authentication'
7070
)}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must allows to push to the repository ${projectPath}.
7171
72-
Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/ee/user/permissions.html#project-members-permissions) to the repository ${projectPath}.`,
72+
Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/user/permissions/#project-members-permissions) to the repository ${projectPath}.`,
7373
}),
7474
EGLNOPULLPERMISSION: ({projectPath}) => ({
7575
message: `The GitLab token doesn't allow to pull from the repository ${projectPath}.`,
7676
details: `The user associated with the [GitLab token](${linkify(
7777
'README.md#gitlab-authentication'
7878
)}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must allow pull from the repository ${projectPath}.
7979
80-
Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/ee/user/permissions.html#project-members-permissions) to the repository ${projectPath}.`,
80+
Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/user/permissions/#project-members-permissions) to the repository ${projectPath}.`,
8181
}),
8282
ENOGLTOKEN: ({repositoryUrl}) => ({
8383
message: 'No GitLab token specified.',
8484
details: `A [GitLab personal access token](${linkify(
8585
'README.md#gitlab-authentication'
8686
)}) must be created and set in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable on your CI environment.
8787
88-
Please make sure to create a [GitLab personal access token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html) and to set it in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable on your CI environment. The token must allow to push to the repository ${repositoryUrl}.`,
88+
Please make sure to create a [GitLab personal access token](https://docs.gitlab.com/user/profile/personal_access_tokens/) and to set it in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable on your CI environment. The token must allow to push to the repository ${repositoryUrl}.`,
8989
}),
9090
};

0 commit comments

Comments
 (0)