-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: cuisongliu <[email protected]>
- Loading branch information
1 parent
dd72495
commit a33483f
Showing
3 changed files
with
5 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,16 +106,14 @@ message: | |
- name: Gh Rebot for Sealos | ||
uses: labring/[email protected] | ||
with: | ||
version: v0.0.6-rc6 | ||
version: v2.0.0 | ||
env: | ||
SEALOS_TYPE: "/comment" | ||
GH_TOKEN: "${{ secrets.GH_PAT }}" | ||
``` | ||
**版本支持**: | ||
|
||
- [x] 支持release | ||
> 目标分支为`release-v1.2`,如果没有则默认为`main`分支,该功能v0.0.7-rc1支持 | ||
`SEALOS_TYPE: "/comment"` # 评论触发 | ||
example: | ||
```markdown | ||
|
@@ -124,16 +122,13 @@ message: | |
``` | ||
|
||
- [x] 支持文本替换回复 | ||
> 该功能v0.0.8-rc2 支持 (升级后新增了,SEALOS_COMMENT、SEALOS_ISREPLY) | ||
- `SEALOS_TYPE: "issue_comment"` # PR文本替换回复 | ||
- `SEALOS_FILENAME: "README.md"` # PR文本替换回复文件位置 | ||
- `SEALOS_COMMENT: "/xxxx"` # comment的内容 | ||
- `SEALOS_REPLACE_TAG: "TAG"` # 寻找标记,根据这个标记进行替换 | ||
- `SEALOS_ISREPLY: "true"` # 是否回复,根据当前的comment的内容追加 | ||
|
||
- [x] issue自动创建 | ||
> 该功能v0.0.8-rc1支持 | ||
|
||
入参: | ||
|
||
- `SEALOS_TYPE: "issue_renew"` # issue自动创建,支持回复comment | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters