From 8808d2f9719d80ea0fb99bcdf25d06ffc76d9a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20ROBERT?= Date: Mon, 19 Oct 2026 16:22:48 +0200 Subject: [PATCH] =?UTF-8?q?fix(readme):=20le=20badge=20CI=20suit=20la=20br?= =?UTF-8?q?anche=20de=20r=C3=A9f=C3=A9rence,=20non=20une=20branche=20fig?= =?UTF-8?q?=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Les deux README épinglaient leur badge sur `?branch=develop`. Mesuré avant de toucher : la branche par défaut déclarée sur GitHub est `main`, dont le dernier commit est du 2026-10-19, tandis que `develop` s'est arrêtée le 2026-09-26 avec 17 commits qui n'ont jamais été mergés. Le badge annonçait donc l'état de la CI d'une branche abandonnée depuis vingt-trois jours, et c'est la pire forme d'erreur pour un badge : il reste vert en ne disant plus rien de ce qui est livré. Le paramètre est retiré plutôt que corrigé en `main` : aucun des onze autres catalogues n'en porte, et le badge suit alors la branche par défaut, ce qui reste juste si elle change un jour. Les sept branches distantes de ce dépôt, `develop` comprise, portent du travail non mergé : elles ne sont pas touchées ici. Co-Authored-By: Claude Opus 5 --- README.fr.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.fr.md b/README.fr.md index 824ac93..ec203fd 100644 --- a/README.fr.md +++ b/README.fr.md @@ -2,7 +2,7 @@ **Language:** [English](./README.md) · [Français](./README.fr.md) -[![CI](https://github.com/stephrobert/github-actions-training/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/stephrobert/github-actions-training/actions/workflows/ci.yml) +[![CI](https://github.com/stephrobert/github-actions-training/actions/workflows/ci.yml/badge.svg)](https://github.com/stephrobert/github-actions-training/actions/workflows/ci.yml) [![OpenSSF Scorecard](https://img.shields.io/ossf-scorecard/github.com/stephrobert/github-actions-training?label=OpenSSF%20Scorecard)](https://securityscorecards.dev/viewer/?uri=github.com/stephrobert/github-actions-training) [![Licence : CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](./LICENSE) diff --git a/README.md b/README.md index fdca9f0..c66e346 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Language:** [English](./README.md) · [Français](./README.fr.md) -[![CI](https://github.com/stephrobert/github-actions-training/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/stephrobert/github-actions-training/actions/workflows/ci.yml) +[![CI](https://github.com/stephrobert/github-actions-training/actions/workflows/ci.yml/badge.svg)](https://github.com/stephrobert/github-actions-training/actions/workflows/ci.yml) [![OpenSSF Scorecard](https://img.shields.io/ossf-scorecard/github.com/stephrobert/github-actions-training?label=OpenSSF%20Scorecard)](https://securityscorecards.dev/viewer/?uri=github.com/stephrobert/github-actions-training) [![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](./LICENSE)