如何更改 GitHub 工作流状态徽章的标签?

问题描述 投票:0回答:1

我有工作流程状态徽章

[![front_end_lint](https://github.com/fraunhofer-isi/micat/actions/workflows/front_end_lint.yml/badge.svg)](https://github.com/fraunhofer-isi/micat/actions/workflows/front_end_lint.yml)

并在 https://github.com/fraunhofer-isi/micatf

使用它

如何在不更改 worfklow 操作文件名称的情况下将 svg 标签“front_end_lint”更改为“lint”?

我尝试将

label
查询参数附加到 url,但这不起作用:

https://github.com/fraunhofer-isi/micat/actions/workflows/front_end_lint.yml/badge.svg?label="lint"

相关:

子目录中的工作流程:https://github.com/orgs/community/discussions/18055

Eslint 分数:如何获得类似于 pylint 分数的 eslint 分数?

github workflow badge
1个回答
0
投票

徽章的降价不会改变。相反,请将

name: Lint
添加到您的工作流程文件中。

© www.soinside.com 2019 - 2024. All rights reserved.