diff --git a/.gitea/workflows/changelog_and_release.yml b/.gitea/workflows/changelog_and_release.yml index 6ddf18d..05c4c18 100644 --- a/.gitea/workflows/changelog_and_release.yml +++ b/.gitea/workflows/changelog_and_release.yml @@ -726,8 +726,8 @@ jobs: BEGIN { in_version=0 } /^## :bookmark: / && $0 ~ version"$" { in_version=1; next } /^## :bookmark: / && in_version { in_version=0 } - in_version && /\(\[[0-9a-f]{7}\]/ { - if (match($0, /\[([0-9a-f]{7})\]/)) { + in_version && /\(\[[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]\]/ { + if (match($0, /\[[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]\]/)) { hash = substr($0, RSTART+1, RLENGTH-2) print hash } diff --git a/CHANGELOG.md b/CHANGELOG.md index 0701ada..2d8f9fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,47 +4,6 @@ ### :pencil: What's Changed -- :sparkles: 新增 act_runner 自动升级脚本并同步最新版本探测 ([9d4c4a1](https://git.mytsl.cn/csh/actions-template/commit/9d4c4a1f7341f1ecbf663cf2a03c3434fc6ee314)) by @csh -- :recycle: 迁移 docker compose 并修复 runner 升级版本识别 ([34480c1](https://git.mytsl.cn/csh/actions-template/commit/34480c16e2e1d8a9cc38a9eb9f98a0d7b8ff544c)) by @csh -- :recycle: 隔离 workflow 工作区并提升默认 runner 并发 ([ac05621](https://git.mytsl.cn/csh/actions-template/commit/ac0562181762501eff49dde9231f65fccf2d7da4)) by @csh -- :wrench: 参数化实例配置并补充 preset env 示例 ([a4d09c9](https://git.mytsl.cn/csh/actions-template/commit/a4d09c906381f4cde4490074a950a1aaa7679ade)) by @csh -- :wrench: 统一 stats workflow 的 token 契约 ([2b5eaf2](https://git.mytsl.cn/csh/actions-template/commit/2b5eaf27c9b51ca676d24a23da044abfe14dfccc)) by @csh -- :memo: 修正 workflow 文档文件名与链接路径 ([124b953](https://git.mytsl.cn/csh/actions-template/commit/124b953d38b47f243524f8adf9f713143de1ba18)) by @csh -- :wrench: 收紧本地脚本与 runner 产物边界 ([95402f4](https://git.mytsl.cn/csh/actions-template/commit/95402f483054ea3a550fe9469cb4c1e864978e54)) by @csh -- :memo: 收紧文档入口与导航层次 ([61e512c](https://git.mytsl.cn/csh/actions-template/commit/61e512c2aef133cc5aa2263acca1cab006296317)) by @csh -- :wrench: 为 runner preset 显式设置系统 hostname ([173526b](https://git.mytsl.cn/csh/actions-template/commit/173526be7929dd2e05347bd4a4847a3b4d8e4f1a)) by @csh -- :recycle: 改用 shared mirror clone 准备 job 工作副本 ([beab4e5](https://git.mytsl.cn/csh/actions-template/commit/beab4e5696e209fb91ac321beb310526b5a5cc42)) by @csh -- :memo: 调整文档分层并补充 workflow 运行模型 ([0579c2d](https://git.mytsl.cn/csh/actions-template/commit/0579c2dc9754b67148cf4d2fe057a163f6e4483a)) by @csh -- :bug: fix(docker_runner): validate act_runner binary arch ([e5db752](https://git.mytsl.cn/csh/actions-template/commit/e5db752c55d320c3cddc663fff65d18376a41af8)) by @csh -- :wrench: chore(runner): allow preset identity overrides via env ([40fa747](https://git.mytsl.cn/csh/actions-template/commit/40fa747a941cffe87239eca31391545a0d330984)) by @csh -- :recycle: refactor(runner): simplify shell helpers and workflow scripts ([ebd0f94](https://git.mytsl.cn/csh/actions-template/commit/ebd0f94053603eb024ebd2b1d0d73d6981649ba9)) by @csh -- :bug: fix(buildx_runner): verify multiarch with explicit platforms ([8445c6a](https://git.mytsl.cn/csh/actions-template/commit/8445c6a36363381d17246923d7312ee7041c9493)) by @csh -- :memo: docs(readme): align document navigation headings ([d4fa498](https://git.mytsl.cn/csh/actions-template/commit/d4fa498a4a737c88f283d9fad3756a682d4ec362)) by @csh -- :bug: fix(stats): switch badges to self-hosted svg ([1259495](https://git.mytsl.cn/csh/actions-template/commit/1259495cbb0ebccd0972df1c0817b53e8e6e7736)) by @csh -- :art: refine(stats): simplify summary and badge colors ([6552f8b](https://git.mytsl.cn/csh/actions-template/commit/6552f8be47aa48dad26ebbc685284e14a56f4611)) by @csh -- :art: refine(stats): rebalance summary badge styling ([550e226](https://git.mytsl.cn/csh/actions-template/commit/550e226a2b6bdd3ca8b2e80f782abf2e35546b8b)) by @csh -- :wrench: chore(stats): add emoji commit prefixes for generated updates ([7782975](https://git.mytsl.cn/csh/actions-template/commit/778297543ab9cfe42d792d7c3fef9ffef9b6e193)) by @csh -- :recycle: refactor(ci): use fixed workflow slots ([610c2b3](https://git.mytsl.cn/csh/actions-template/commit/610c2b3e743f34a6a9e4ee6061e55037ecacad4c)) by @csh -- :recycle: refactor(ci): 重构为 Prepare 上游 + workflow_run 下游消费者模型 - - 新增 prepare.yml:统一检查/安装公共工具并集中 fetch 到共享 bare 仓库 - - 统计与发布改为消费成功的 Prepare workflow_run,各自维护 stats/release worktree - - 四个 workflow name 统一为带 emoji 的中文,同步 workflow_run 触发引用 - - 系统信息 workflow 保持独立直接触发 - - 删除 tests/ 手动验证脚本 - ([50efc4b](https://git.mytsl.cn/csh/actions-template/commit/50efc4bbfad9a897e931e9e6c1b2c2825d4d025b)) by @csh -- :bug: fix(ci): 补全 prepare.yml 缺失的 GIT_CONFIG_VALUE_1 - GIT_CONFIG_COUNT=3 但 env 段漏写 GIT_CONFIG_KEY_1/VALUE_1, - credential helper 函数串被错放到 KEY_1,导致 git 报 - missing config value GIT_CONFIG_VALUE_1 而无法 fetch。 - ([2dcf9f7](https://git.mytsl.cn/csh/actions-template/commit/2dcf9f7da481cfe9e18550faf11068fef2688f72)) by @csh -- :recycle: refactor(ci): 将 GIT_CONFIG 环境变量改为内联 -c 认证 - - 删除三个 workflow env 段的 GIT_CONFIG_COUNT/KEY/VALUE 变量 - - 在需要认证的 git 命令上内联 -c credential.helper/interactive - - prepare fetch、stats 两处 push、release push 各自内联 - - 保留 ACCESS_TOKEN,helper 运行时取用 - ([ac8a781](https://git.mytsl.cn/csh/actions-template/commit/ac8a7816567344f48d97e86cd2c7a9ed2a43bcd1)) by @csh - - - :sparkles: 新增 act_runner 自动升级脚本并同步最新版本探测 ([9d4c4a1](https://git.mytsl.cn/csh/actions-template/commit/9d4c4a1f7341f1ecbf663cf2a03c3434fc6ee314)) by @csh - :recycle: 迁移 docker compose 并修复 runner 升级版本识别 ([34480c1](https://git.mytsl.cn/csh/actions-template/commit/34480c16e2e1d8a9cc38a9eb9f98a0d7b8ff544c)) by @csh - :recycle: 隔离 workflow 工作区并提升默认 runner 并发 ([ac05621](https://git.mytsl.cn/csh/actions-template/commit/ac0562181762501eff49dde9231f65fccf2d7da4)) by @csh