Files
issues-helper/web/docs/guide/ref.zh-CN.md
Wuxh ecbe084012 chore: upgrade dumi@2.x (#148)
* chore(deps): upgrade dumi@2.x

* chore: update

* chore: update config file

* docs: update

* docs: update docs

* docs: update

* chore: update

* chore: update

* chore: remore debug link

* chore: update global.less
2023-03-06 13:12:09 +08:00

2.1 KiB
Raw Blame History

title
title
🎁 参 考

📍 token 说明

需拥有 push 权限的人员 token。

  • 个人 token 申请
    • 需勾选 Full control of private repositories
  • 项目添加 secrets
    • 选择 settings选择 secrets选择 New repository secret
    • Name 与 actions 中保持一致
    • Value 填写刚才个人申请的 token

当 actions 不填写 token 时,或输入 ${{ secrets.GITHUB_TOKEN }},会默认为 github-actions-bot更多查看

📍 GitHub 相关文档

📍 outputs 使用

- name: Create issue
  uses: actions-cool/issues-helper@v1
  id: createissue
  with:
    actions: 'create-issue'
    token: ${{ secrets.GITHUB_TOKEN }}
- name: Check outputs
  run: echo "Outputs issue_number is ${{ steps.createissue.outputs.issue-number }}"

更多查看:

  1. https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/metadata-syntax-for-github-actions#outputs
  2. https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idoutputs

📍 includes 校验规则

"title-includes": 'x1,x2'

x1
x2

"x1y3y2"  true
"y2 x1"   true
"x2"      true
"x3"      false
"title-includes": 'x1,x2/y1,y2'

x1 + y1
x2 + y1
x1 + y2
x2 + y2

"x1y3y2"  true
"y2 x1"   true
"1x2y"    false
"x1"      false

📍 emoji 类型

content emoji
+1 👍
-1 👎
laugh 😄
confused 😕
heart ❤️
hooray 🎉
rocket 🚀
eyes 👀

如需详细了解,可 查看

📍 comment-id

点击某个评论右上角 ··· 图标,选择 Copy linkurl 末尾数字即是 comment_id