Update CodeQL security analysis badge link in README#19223
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates the CodeQL security analysis badge URL in the README to reflect GitHub's changed URL structure for CodeQL workflows. The old URL path (github-code-scanning/codeql) has been replaced with the simpler workflow file reference (codeql.yml).
- Updated CodeQL badge and link URLs from the deprecated
github-code-scanning/codeqlpath tocodeql.yml - Simplified the badge URL structure to align with standard GitHub Actions workflow badge patterns
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| * Beta build status: [](https://github.com/nvaccess/nvda/actions/workflows/testAndPublish.yml?query=branch%3Abeta+event%3Apush) | ||
| * Pre-commit status (master): [](https://results.pre-commit.ci/latest/github/nvaccess/nvda/master) | ||
| * CodeQL security analysis status (master): [](https://github.com/nvaccess/nvda/actions/workflows/github-code-scanning/codeql?query=branch%3Amaster) | ||
| * CodeQL security analysis status (master): [](https://github.com/nvaccess/nvda/actions/workflows/codeql.yml) |
There was a problem hiding this comment.
The updated CodeQL badge URL is missing the branch parameter. For consistency with the other status badges in this file (Alpha and Beta build status), and since the description says "status (master)", the badge should include ?branch=master parameter:
[](https://github.com/nvaccess/nvda/actions/workflows/codeql.yml?query=branch%3Amaster)This ensures the badge specifically shows the master branch status rather than the default branch status.
| * CodeQL security analysis status (master): [](https://github.com/nvaccess/nvda/actions/workflows/codeql.yml) | |
| * CodeQL security analysis status (master): [](https://github.com/nvaccess/nvda/actions/workflows/codeql.yml?query=branch%3Amaster) |
It seems like GitHub changed the URL for CodeQL security analysis