Skip to content

Commit dfc88b6

Browse files
committed
docs: 修改README
1 parent 10838f8 commit dfc88b6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README-zh-cn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ X-Developer Analysis Action 在代码提交后,自动触发 X-Developer 团队
4040

4141
在开发分支上建立分析任务,用于帮助您近实时地管理团队日常开发活动,请配置 `workflow` 文件如下所示:
4242

43-
```
43+
```yaml
4444
on:
4545
push:
4646
branches: [ dev, test ] # 非主干分支
@@ -62,7 +62,7 @@ jobs:
6262
6363
如果您需要统计发布的需求、任务或Issues,以及如合并、发布等活动,请对配置 `workflow` 文件如下所示:
6464

65-
```
65+
```yaml
6666
on:
6767
push:
6868
branches: [ master ] # 主干分支
@@ -86,7 +86,7 @@ jobs:
8686

8787
X-Developer Action 完整的 Workflow 如下所示,分为构建 `Python` 环境、安装 `xdclient` 客户端与调用 `xdclient` 命令行执行分析三个步骤。
8888

89-
```
89+
```yaml
9090
name: X-Developer Analysis Action
9191
9292
on:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Enter your repository setting -> secrets, create `APPID` `APPKEY` `TEAMID` and s
3636

3737
To analysis daily activities on non-master branches, please create a `workflow` yaml file as below:
3838

39-
```
39+
```yaml
4040
on:
4141
push:
4242
branches: [ dev, test ] # Non-master branches
@@ -58,7 +58,7 @@ jobs:
5858
5959
To analysis publish or pull request activities on `master` branch, please create a `workflow` yaml file as below (specify Master parameter to True):
6060

61-
```
61+
```yaml
6262
on:
6363
push:
6464
branches: [ master ] # master branch
@@ -83,7 +83,7 @@ jobs:
8383

8484
It has three steps as below: setup `Python` environment, install `xdclient` and run `xdclient` command line.
8585

86-
```
86+
```yaml
8787
name: X-Developer Analysis Action
8888
8989
on:

0 commit comments

Comments
 (0)