Skip to content

Update README badges to use default style and direct SonarCloud API#49

Merged
Malcolmnixon merged 2 commits intomainfrom
copilot/update-readme-badges
Jan 10, 2026
Merged

Update README badges to use default style and direct SonarCloud API#49
Malcolmnixon merged 2 commits intomainfrom
copilot/update-readme-badges

Conversation

Copy link
Contributor

Copilot AI commented Jan 10, 2026

Badges were using flat-square style and the SonarCloud security badge displayed "1" instead of "A" rating.

Changes

  • Remove ?style=flat-square from all badge URLs (forks, stars, contributors, license, build, NuGet)
  • Replace quality gate badge with direct SonarCloud API: https://sonarcloud.io/api/project_badges/measure?project=demaconsulting_ReqStream&metric=alert_status
  • Replace security badge with direct SonarCloud API: https://sonarcloud.io/api/project_badges/measure?project=demaconsulting_ReqStream&metric=security_rating

The direct API badges display proper letter grades (A-E) instead of numeric ratings (1-5).

Original prompt

This section details on the original issue you should resolve

<issue_title>[Feature]: Updated README badges</issue_title>
<issue_description>### Problem Statement

The README.md badges are flat, and the security rating is a 1 rather than an A

Proposed Solution

Remove the 'style=flat-square' from the badge images.
Update the quality-gate badge to https://sonarcloud.io/api/project_badges/measure?project=demaconsulting_ReqStream&metric=alert_status
Update the security badge to https://sonarcloud.io/api/project_badges/measure?project=demaconsulting_ReqStream&metric=security_rating

Alternatives Considered

No response

Additional Context

No response

Priority

Low - Nice to have

Contribution

  • I would be willing to submit a PR for this feature

Code of Conduct

  • I agree to follow this project's Code of Conduct</issue_description>

Comments on the Issue (you are @copilot in this section)

Custom agent used: Software Quality Enforcer
Expert agent for code quality, testing standards, code reviews, security analysis, and ensuring adherence to coding conventions


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Jan 10, 2026
… badges

Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Copilot AI changed the title [WIP] Update README badges to improve style and security ratings Update README badges to use default style and direct SonarCloud API Jan 10, 2026
Copilot AI requested a review from Malcolmnixon January 10, 2026 06:34
@Malcolmnixon Malcolmnixon marked this pull request as ready for review January 10, 2026 06:41
@Malcolmnixon Malcolmnixon merged commit 0bb499c into main Jan 10, 2026
13 checks passed
@Malcolmnixon Malcolmnixon deleted the copilot/update-readme-badges branch January 10, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Updated README badges

2 participants