Skip to content

Commit 5302c7e

Browse files
committed
docs: update gitlab links
Signed-off-by: Rui Chen <[email protected]>
1 parent 3e61d76 commit 5302c7e

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

e2e/gitlab.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func (g GitlabClient) DeleteBranch(ctx context.Context, branchName string) error
166166
}
167167

168168
func (g GitlabClient) IsAtlantisInProgress(state string) bool {
169-
// From https://docs.gitlab.com/ee/api/pipelines.html
169+
// From https://docs.gitlab.com/api/pipelines/
170170
// created, waiting_for_resource, preparing, pending, running, success, failed, canceled, skipped, manual, scheduled
171171
for _, s := range []string{"success", "failed", "canceled", "skipped"} {
172172
if state == s {

runatlantis.io/contributing/events-controller.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ documentation.
8585
- [Azure DevOps Pull Request Created](https://learn.microsoft.com/en-us/azure/devops/service-hooks/events?view=azure-devops#pull-request-created)
8686
- [BitBucket Pull Request](https://support.atlassian.com/bitbucket-cloud/docs/event-payloads/#Pull-request-events)
8787
- [GitHub Pull Request](https://docs.github.com/en/webhooks/webhook-events-and-payloads#pull_request)
88-
- [GitLab Merge Request](https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#merge-request-events)
88+
- [GitLab Merge Request](https://docs.gitlab.com/user/project/integrations/webhook_events/#merge-request-events)
8989
- [Gitea Webhooks](https://docs.gitea.com/next/usage/webhooks)
9090

9191
</details>

runatlantis.io/docs/access-credentials.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ A new permission for `Actions` has been added, which is required for checking if
114114

115115
### GitLab
116116

117-
* Follow: [GitLab: Create a personal access token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html#create-a-personal-access-token)
117+
* Follow: [GitLab: Create a personal access token](https://docs.gitlab.com/user/profile/personal_access_tokens/#create-a-personal-access-token)
118118
* Create a token with **api** scope
119119
* Record the access token
120120

runatlantis.io/docs/command-requirements.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The `approved` requirement by:
5757
Each VCS provider has different rules around who can approve:
5858

5959
* **GitHub** – **Any user with read permissions** to the repo can approve a pull request
60-
* **GitLab** – The user who can approve can be set in the [repo settings](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
60+
* **GitLab** – The user who can approve can be set in the [repo settings](https://docs.gitlab.com/user/project/merge_requests/approvals/)
6161
* **Bitbucket Cloud (bitbucket.org)** – A user can approve their own pull request but
6262
Atlantis does not count that as an approval and requires an approval from at least one user that
6363
is not the author of the pull request
@@ -303,6 +303,6 @@ request can run the actual `atlantis apply` command.
303303
## Next Steps
304304

305305
* For more information on GitHub pull request reviews and approvals see: [GitHub: About pull request reviews](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews)
306-
* For more information on GitLab merge request reviews and approvals (only supported on GitLab Enterprise) see: [GitLab: Merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/).
306+
* For more information on GitLab merge request reviews and approvals (only supported on GitLab Enterprise) see: [GitLab: Merge request approvals](https://docs.gitlab.com/user/project/merge_requests/approvals/).
307307
* For more information on Bitbucket pull request reviews and approvals see: [BitBucket: Use pull requests for code review](https://confluence.atlassian.com/bitbucket/pull-requests-and-code-review-223220593.html)
308308
* For more information on Azure DevOps pull request reviews and approvals see: [Azure DevOps: Create pull requests](https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-requests?view=azure-devops&tabs=browser)

runatlantis.io/guide/testing-locally.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ TOKEN="{YOUR_TOKEN}"
197197

198198
### GitLab or GitLab Enterprise Access Token
199199

200-
- follow [GitLab: Create a personal access token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html#create-a-personal-access-token)
200+
- follow [GitLab: Create a personal access token](https://docs.gitlab.com/user/profile/personal_access_tokens/#create-a-personal-access-token)
201201
- create a token with **api** scope
202202
- set the token as an environment variable
203203

0 commit comments

Comments
 (0)