Commit Graph

14389 Commits

Author SHA1 Message Date
02fac6b5f0 Merge branch 'main' into feature/bots 2022-11-25 18:20:31 +08:00
378e1f8d01 chore: fix problems caused by rebase 2022-11-25 17:58:34 +08:00
7a4f7b35e3 Fix typo in sidebar (#21934)
Same as #21922 
I used the npm file as template which was a bad idea to spot these
casing errors...
2022-11-25 17:52:23 +08:00
295a7f68c8 feat: update job info 2022-11-25 17:48:48 +08:00
1886156329 chore: remove outdated todos 2022-11-25 17:48:48 +08:00
4814a6ad1b fix: fill more contexts 2022-11-25 17:48:48 +08:00
324d6711da permission check 2022-11-25 17:48:48 +08:00
fdd3c0434e feat: add IsForkPullRequest 2022-11-25 17:48:48 +08:00
6ad8bddabf feat: GetRunningTaskByToken 2022-11-25 17:48:48 +08:00
e346581344 chore: update grpc router path 2022-11-25 17:48:48 +08:00
48f5c152b9 chore: mod tidy 2022-11-25 17:48:48 +08:00
96d9b729ee chore: upgrade act 2022-11-25 17:48:48 +08:00
3e8de17db3 permission 2022-11-25 17:48:48 +08:00
d17a0b13f1 chore: use bots-proto-go v0.1.0 2022-11-25 17:48:48 +08:00
ea1bc1b662 chore: replace with code.gitea.io/bots-proto-go 2022-11-25 17:48:48 +08:00
52b32c37ad Use a new name for bots 2022-11-25 17:48:48 +08:00
45afa0ee9f Support most github's sdk 2022-11-25 17:48:48 +08:00
2ecb59c092 rename builds -> bots 2022-11-25 17:48:48 +08:00
c61ac24c1c Fix bug 2022-11-25 17:48:48 +08:00
5d849cea33 chore(runner): remove update runner status
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:48 +08:00
88b0ab89d0 Gitea bot will not fire the events otherwise it may causes a forever loop 2022-11-25 17:48:48 +08:00
736275f0b1 feat: support cancel button 2022-11-25 17:48:48 +08:00
f3a9a25682 fix: remove build view header 2022-11-25 17:48:47 +08:00
5230c7a364 fix: remove debug log 2022-11-25 17:48:47 +08:00
797cdfbdb8 chore(runner): return task state. 2022-11-25 17:48:47 +08:00
0f5aab0c1a chore: remove Result from task and step 2022-11-25 17:48:47 +08:00
dd417a3270 chore: move job emitter to service 2022-11-25 17:48:47 +08:00
f57e6999a2 Remove unused file 2022-11-25 17:48:47 +08:00
f4bbd534b9 Allow gitea bot as trigger user 2022-11-25 17:48:47 +08:00
110072a8d4 Fix log 2022-11-25 17:48:47 +08:00
9a45572ce2 Support bot site 2022-11-25 17:48:47 +08:00
7059cd7265 feat: update runner status 2022-11-25 17:48:47 +08:00
745be45e1b chore: rename to Init 2022-11-25 17:48:47 +08:00
9b021500b0 feat: ignore bots events of repo with disabled builds 2022-11-25 17:48:47 +08:00
717344007a chore: remove GetRunnerByToken 2022-11-25 17:48:47 +08:00
0682f0fcc5 chore: reduse log noise 2022-11-25 17:48:47 +08:00
7b2f1f5a91 chore: fix token format 2022-11-25 17:48:47 +08:00
140d57aecb feat: use runner token hash 2022-11-25 17:48:47 +08:00
94241daaaa feat: check runner token 2022-11-25 17:48:47 +08:00
9c6476754d chore: shouldn't import act_runner 2022-11-25 17:48:47 +08:00
fc2c70033a Add default bot url 2022-11-25 17:48:47 +08:00
1a55d39adc fix: ignore ErrAlreadyInQueue 2022-11-25 17:48:47 +08:00
5d83ffa658 chore: log updating task 2022-11-25 17:48:47 +08:00
ce39e45cc2 chore: reduce log noise 2022-11-25 17:48:47 +08:00
a1ddfb8200 feat: use new FullSteps 2022-11-25 17:48:47 +08:00
aa09eb63e1 Support bot user 2022-11-25 17:48:47 +08:00
1ddf3b2d12 Support push via gitea bot 2022-11-25 17:48:47 +08:00
f55253e81d Support clone private repository in runner 2022-11-25 17:48:47 +08:00
d8b401ab06 Fix virutal user 2022-11-25 17:48:47 +08:00
e19f2c8c44 chore: add ids to task 2022-11-25 17:48:47 +08:00