Update badge placeholder docs with privacy concerns

This commit is contained in:
Nick Thomas 2019-03-13 17:40:06 +00:00
parent ff26347d5e
commit 8457768000
No known key found for this signature in database
GPG Key ID: 2A313A47AFADACE9
1 changed files with 6 additions and 0 deletions

View File

@ -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