Skip to content
Snippets Groups Projects
Commit 37e77a9c authored by Marcia Ramos's avatar Marcia Ramos Committed by GitLab Release Tools Bot
Browse files

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 d32a7c20)

84577680 Update badge placeholder docs with privacy concerns
parent 76ba3dcd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment