Skip to content

[GitLab]: Adds label badges and tests - #12112

Open
Gabbar-v7 wants to merge 4 commits into
badges:masterfrom
Gabbar-v7:feat/glab-labels
Open

[GitLab]: Adds label badges and tests#12112
Gabbar-v7 wants to merge 4 commits into
badges:masterfrom
Gabbar-v7:feat/glab-labels

Conversation

@Gabbar-v7

Copy link
Copy Markdown

This pull request introduces a new service for displaying GitLab label badges and adds corresponding tests. It also updates the package.json to allow specific script executions for dependencies.

Updates: #8077

New GitLab label badge service:

  • Added GitLabLabels service in gitlab-labels.service.js to fetch and display label information (name and color) from GitLab projects, supporting both gitlab.com and self-managed instances.
  • Added Joi validation schemas for request parameters and responses to ensure correct data handling.
  • Defined OpenAPI documentation for the new endpoint to facilitate API discovery and usage.

Testing:

  • Introduced gitlab-labels.tester.js with tests covering standard, self-managed, and error scenarios for the label badge service.

@Gabbar-v7 Gabbar-v7 changed the title [GitLab]}: Adds label badges and tests [GitLab]: Adds label badges and tests Aug 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor
Messages
📖 ✨ Thanks for your contribution to Shields, @Gabbar-v7!

Generated by 🚫 dangerJS against f513323

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant