File tree 3 files changed +62
-12
lines changed
3 files changed +62
-12
lines changed Original file line number Diff line number Diff line change
1
+ version : v1
2
+ debug : true
3
+ bot :
4
+ prefix : /sealos
5
+ spe : _
6
+ allowOps :
7
+ - sealos-ci-robot
8
+ - sealos-release-robot
9
+
10
+ username : sealos-ci-robot
11
+ repo :
12
+ org : false
13
+ name : sealos-ci-robot/sealos
14
+ fork : labring/sealos
15
+
16
+ changelog :
17
+ script : scripts/changelog.sh {{.Repo.Fork}}
18
+ allowOps :
19
+ - cuisongliu
20
+ reviewers :
21
+ - cuisongliu
22
+
23
+ release :
24
+ retry : 15s
25
+ action : Release
26
+ allowOps :
27
+ - cuisongliu
28
+
29
+ message :
30
+ success : |
31
+ 🤖 says: The action {{.Body}} finished successfully 🎉
32
+ format_error : |
33
+ 🤖 says: ‼️ The action format error, please check the format of this action.
34
+ permission_error : |
35
+ 🤖 says: ‼️ The action no has permission to trigger.
36
+ release_error : |
37
+ 🤖 says: ‼️ The action release error.
38
+ changelog_error : |
39
+ 🤖 says: ‼️ The action changelog error.
Original file line number Diff line number Diff line change
1
+ name : Github Rebot for Sealos
2
+ on :
3
+ issue_comment :
4
+ types :
5
+ - created
6
+ env :
7
+ GH_TOKEN : " ${{ secrets.GH_PAT }}"
8
+ GH_REBOT_VERSION : " v0.0.1"
9
+ jobs :
10
+ comment :
11
+ if : startswith(github.event.comment.body, '/sealos')
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout the latest code
15
+ uses : actions/checkout@v3
16
+ - name : Download gh-rebot
17
+ run : |
18
+ sudo wget -q https://github.com/labring-actions/gh-rebot/releases/download/${GH_REBOT_VERSION}/gh-rebot_${GH_REBOT_VERSION#v}_linux_amd64.tar.gz
19
+ sudo tar -zxf gh-rebot_${GH_REBOT_VERSION#v}_linux_amd64.tar.gz gh-rebot && chmod +x gh-rebot && sudo mv gh-rebot /usr/bin/gh-rebot
20
+ gh-rebot version
21
+ - name : Using sealos-rebot
22
+ run : |
23
+ gh-rebot comment
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments