diff options
author | Marcia Ramos <marcia@gitlab.com> | 2019-03-14 14:03:29 +0300 |
---|---|---|
committer | GitLab Release Tools Bot <robert+release-tools@gitlab.com> | 2019-03-15 01:42:34 +0300 |
commit | 37e77a9ce42b6d83fef8e2732f0b08635d07598e (patch) | |
tree | 85fd402dd637a617434e6796e13629f30f4e1ddc | |
parent | 76ba3dcd262d9e601f47fec1a5a22de5283735be (diff) |
Merge branch '56406-update-default-branch-and-sha-docs' into 'master'
Update badge placeholder docs with privacy concerns
Closes #56406
See merge request gitlab-org/gitlab-ce!26117
(cherry picked from commit d32a7c20ca1dc8a64494ac9e9e70f337e79d284b)
84577680 Update badge placeholder docs with privacy concerns
-rw-r--r-- | doc/user/project/badges.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user/project/badges.md b/doc/user/project/badges.md index 19eb95099ce..025f3af0af5 100644 --- a/doc/user/project/badges.md +++ b/doc/user/project/badges.md @@ -63,6 +63,12 @@ are available: - `%{commit_sha}`: ID of the most recent commit to the default branch of a project's repository +NOTE: **NOTE** +Placeholders allow badges to expose otherwise-private information, such as the +default branch or commit SHA when the project is configured to have a private +repository. This is by design, as badges are intended to be used publicly. Avoid +using these placeholders if the information is sensitive. + ## API You can also configure badges via the GitLab API. As in the settings, there is |