From 09c51083454dc4efadaa96caf1fa4074dde0098b Mon Sep 17 00:00:00 2001 From: KenanZhu <3471685733@qq.com> Date: Tue, 23 Jun 2026 11:11:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(ci):=20change=20badge=20to=20yellow=20'?= =?UTF-8?q?=E5=BE=85=E6=B5=8B=E8=AF=95'=20on=20new=20version=20detection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When tracker detects a new Gitea version, the shields.io badge now updates from 'tested-blue' to '待测试-yellow' to indicate pending verification status. Co-Authored-By: Claude --- .github/workflows/gitea-tracker.yml | 4 ++-- COMPATIBILITY.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gitea-tracker.yml b/.github/workflows/gitea-tracker.yml index 4a2eaea..369f304 100644 --- a/.github/workflows/gitea-tracker.yml +++ b/.github/workflows/gitea-tracker.yml @@ -91,8 +91,8 @@ jobs: if: steps.version.outputs.skip != 'true' run: | NEW="${{ steps.version.outputs.new_version }}" - # Badge: replace version between %20...%20tested-blue - sed -i "/TRACKER:BADGE/s/%20[0-9a-z.-]*%20tested-blue/%20${NEW}%20tested-blue/" README.md + # Badge: update version, change label tested→待测试, color blue→yellow + sed -i "/TRACKER:BADGE/s/%20[0-9a-z.-]*%20tested-blue/%20${NEW}%20%E5%BE%85%E6%B5%8B%E8%AF%95-yellow/" README.md # Latest tested: update version on the TRACKER:LATEST-TESTED line sed -i "/TRACKER:LATEST-TESTED/s/Gitea [0-9.]*/Gitea ${NEW}/" README.md diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 30a1495..87a183e 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -7,7 +7,7 @@ This document tracks the compatibility between **Gitea Mail Templates** releases | Template Release | Min Gitea | Max Tested Gitea | Status | |-----------------|-----------|-----------------|--------| -| **v1.0.x** | **1.25.0** | **1.26.4** | ✅ Active | +| **v1.0.0** | **1.25.0** | **1.26.4** | ✅ Active | > **Latest verified:** All 11 templates pass validation against Gitea 1.26.4 data contexts.