docs: perf website (#32)

This commit is contained in:
xrkffgg
2021-01-08 11:09:23 +08:00
committed by GitHub
parent b7db679f4b
commit 0396471168
10 changed files with 98 additions and 34 deletions

View File

@@ -18,6 +18,21 @@ if: contains(github.event.issue.body, 'ie') == false
更多[查看](https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#functions)。
## `yml` 中传值和输出
```
with:
actions: 'month-statistics'
token: ${{ secrets.GITHUB_TOKEN }}
count-lables: 'true'
```
- `count-lables`:不管设置 `true` 还是 `'ture'`,在程序里接收到的都是字符串格式
同时输出的也是字符串格式
- `check-result`:判断条件为 `if: steps.xxid.outputs.check-result == 'true'`
## `GitHub Actions bot` 触发
当设置了一个 Actions如为给一个 issue 新增 label `x1`Actions 自动为该 issue 增加 `x2` label。