Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcia Ramos <marcia@gitlab.com>2019-03-14 14:03:29 +0300
committerGitLab Release Tools Bot <robert+release-tools@gitlab.com>2019-03-15 01:42:34 +0300
commit37e77a9ce42b6d83fef8e2732f0b08635d07598e (patch)
tree85fd402dd637a617434e6796e13629f30f4e1ddc
parent76ba3dcd262d9e601f47fec1a5a22de5283735be (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.md6
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