From 8c5b3e96e9e641e8a01853f7353f7189007877f3 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 29 Oct 2026 12:24:54 +0000 Subject: [PATCH] docs: show the state of main in the tests badge, as webpack does The badge named the workflow, which shows its latest run on any branch: a pull request's run, or one cancelled by the next push, turned it red. Named by its file, as webpack's own README does, it shows the default branch. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01App18sYbe6Vf6HDCjCXbvf --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f375dd5..e82b5c6 100644 --- a/README.md +++ b/README.md @@ -1384,8 +1384,8 @@ If you're new here, please take a moment to review our contributing guidelines. [npm-url]: https://npmjs.com/package/diagnostics-webpack-plugin [node]: https://img.shields.io/node/v/diagnostics-webpack-plugin.svg [node-url]: https://nodejs.org -[tests]: https://github.com/webpack/diagnostics-webpack-plugin/workflows/diagnostics-webpack-plugin/badge.svg -[tests-url]: https://github.com/webpack/diagnostics-webpack-plugin/actions +[tests]: https://github.com/webpack/diagnostics-webpack-plugin/actions/workflows/nodejs.yml/badge.svg +[tests-url]: https://github.com/webpack/diagnostics-webpack-plugin/actions/workflows/nodejs.yml [cover]: https://codecov.io/gh/webpack/diagnostics-webpack-plugin/branch/main/graph/badge.svg [cover-url]: https://codecov.io/gh/webpack/diagnostics-webpack-plugin [discussion]: https://img.shields.io/github/discussions/webpack/webpack