diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-02 03:11:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-02 03:11:35 +0300 |
commit | d1bc31b8d5eba0c27d888245d5c8d3b557ebd5c6 (patch) | |
tree | 8937df23daabbd96537415114ef694beca737225 /doc/user | |
parent | e415571a6e766e961cd49a0ac92576c460a49e4d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user')
-rw-r--r-- | doc/user/application_security/sast/customize_rulesets.md | 4 | ||||
-rw-r--r-- | doc/user/profile/comment_templates.md | 4 | ||||
-rw-r--r-- | doc/user/profile/img/comment_template_v16_6.png | bin | 0 -> 15154 bytes | |||
-rw-r--r-- | doc/user/profile/img/saved_replies_dropdown_v16_0.png | bin | 16149 -> 0 bytes | |||
-rw-r--r-- | doc/user/project/merge_requests/reviews/index.md | 8 |
5 files changed, 9 insertions, 7 deletions
diff --git a/doc/user/application_security/sast/customize_rulesets.md b/doc/user/application_security/sast/customize_rulesets.md index 90731114303..ed3b33fc35b 100644 --- a/doc/user/application_security/sast/customize_rulesets.md +++ b/doc/user/application_security/sast/customize_rulesets.md @@ -597,7 +597,7 @@ rules: The following example [enables SAST](index.md#configure-sast-in-your-cicd-yaml) and uses a shared ruleset customization file. The file is: -- Downloaded from a private project that requires authentication, by using a [Group Access Token](../../group/settings/group_access_tokens.md). +- Downloaded from a private project that requires authentication, by using a [Group Access Token](../../group/settings/group_access_tokens.md) securely stored within a CI variable. - Checked out at a specific Git commit SHA instead of the default branch. See [group access tokens](../../group/settings/group_access_tokens.md#bot-users-for-groups) for how to find the username associated with a group token. @@ -607,5 +607,5 @@ include: - template: Security/SAST.gitlab-ci.yml variables: - SAST_RULESET_GIT_REFERENCE: "group_2504721_bot_7c9311ffb83f2850e794d478ccee36f5:glpat-1234567@gitlab.com/example-group/example-ruleset-project@c8ea7e3ff126987fb4819cc35f2310755511c2ab" + SAST_RULESET_GIT_REFERENCE: "group_2504721_bot_7c9311ffb83f2850e794d478ccee36f5:$PERSONAL_ACCESS_TOKEN@gitlab.com/example-group/example-ruleset-project@c8ea7e3ff126987fb4819cc35f2310755511c2ab" ``` diff --git a/doc/user/profile/comment_templates.md b/doc/user/profile/comment_templates.md index 50df5f8fdb4..5af93d7e2cf 100644 --- a/doc/user/profile/comment_templates.md +++ b/doc/user/profile/comment_templates.md @@ -25,7 +25,7 @@ With comment templates, create and reuse text for any text area in: Comment templates can be small, like approving a merge request and unassigning yourself from it, or large, like chunks of boilerplate text you use frequently: -![Comment templates dropdown list](img/saved_replies_dropdown_v16_0.png) +![Comment templates dropdown list](img/comment_template_v16_6.png) ## Use comment templates in a text area @@ -65,4 +65,4 @@ To edit or delete a previously comment template: 1. On the left sidebar, select **Comment templates** (**{comment-lines}**). 1. Scroll to **My comment templates**, and identify the comment template you want to edit. 1. To edit, select **Edit** (**{pencil}**). -1. To delete, select **Delete** (**{remove}**), then select **Delete** again from the modal window. +1. To delete, select **Delete** (**{remove}**), then select **Delete** again on the dialog. diff --git a/doc/user/profile/img/comment_template_v16_6.png b/doc/user/profile/img/comment_template_v16_6.png Binary files differnew file mode 100644 index 00000000000..7990ca604ce --- /dev/null +++ b/doc/user/profile/img/comment_template_v16_6.png diff --git a/doc/user/profile/img/saved_replies_dropdown_v16_0.png b/doc/user/profile/img/saved_replies_dropdown_v16_0.png Binary files differdeleted file mode 100644 index 4608484a496..00000000000 --- a/doc/user/profile/img/saved_replies_dropdown_v16_0.png +++ /dev/null diff --git a/doc/user/project/merge_requests/reviews/index.md b/doc/user/project/merge_requests/reviews/index.md index 1120733251f..da7c82b6558 100644 --- a/doc/user/project/merge_requests/reviews/index.md +++ b/doc/user/project/merge_requests/reviews/index.md @@ -341,6 +341,9 @@ from the command line by running `git checkout <branch-name>`. ### Checkout merge requests locally through the `head` ref +> - Deleting `head` refs 14 days after a merge request closes or merges [enabled on self-managed and GitLab.com](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/130098) in GitLab 16.4. +> - Deleting `head` refs 14 days after a merge request closes or merges [generally available](https://gitlab.com/gitlab-org/gitlab/-/issues/336070) in GitLab 16.6. Feature flag `merge_request_refs_cleanup` removed. + A merge request contains all the history from a repository, plus the additional commits added to the branch associated with the merge request. Here's a few ways to check out a merge request locally. @@ -352,9 +355,8 @@ This relies on the merge request `head` ref (`refs/merge-requests/:iid/head`) that is available for each merge request. It allows checking out a merge request by using its ID instead of its branch. -[Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/223156) in GitLab -13.4, 14 days after a merge request gets closed or merged, the merge request -`head` ref is deleted. This means that the merge request isn't available +In GitLab 16.6 and later, the merge request `head` ref is deleted 14 days after +a merge request is closed or merged. The merge request is then no longer available for local checkout from the merge request `head` ref anymore. The merge request can still be re-opened. If the merge request's branch exists, you can still check out the branch, as it isn't affected. |