Commit Graph

14392 Commits

Author SHA1 Message Date
Jason Song 0bd9553219
chore: golang lint 2022-11-26 20:14:03 +08:00
Jason Song 3b119f3d78
chore: npm install --package-lock-only 2022-11-25 22:27:34 +08:00
Jason Song 6af809d0bd
chore: lint front 2022-11-25 22:27:34 +08:00
Jason Song 02fac6b5f0
Merge branch 'main' into feature/bots 2022-11-25 18:20:31 +08:00
Jason Song 378e1f8d01 chore: fix problems caused by rebase 2022-11-25 17:58:34 +08:00
KN4CK3R 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
Jason Song 295a7f68c8 feat: update job info 2022-11-25 17:48:48 +08:00
Jason Song 1886156329 chore: remove outdated todos 2022-11-25 17:48:48 +08:00
Jason Song 4814a6ad1b fix: fill more contexts 2022-11-25 17:48:48 +08:00
Lunny Xiao 324d6711da permission check 2022-11-25 17:48:48 +08:00
Jason Song fdd3c0434e feat: add IsForkPullRequest 2022-11-25 17:48:48 +08:00
Jason Song 6ad8bddabf feat: GetRunningTaskByToken 2022-11-25 17:48:48 +08:00
Jason Song e346581344 chore: update grpc router path 2022-11-25 17:48:48 +08:00
Jason Song 48f5c152b9 chore: mod tidy 2022-11-25 17:48:48 +08:00
Jason Song 96d9b729ee chore: upgrade act 2022-11-25 17:48:48 +08:00
Lunny Xiao 3e8de17db3 permission 2022-11-25 17:48:48 +08:00
Jason Song d17a0b13f1 chore: use bots-proto-go v0.1.0 2022-11-25 17:48:48 +08:00
Jason Song ea1bc1b662 chore: replace with code.gitea.io/bots-proto-go 2022-11-25 17:48:48 +08:00
Lunny Xiao 52b32c37ad Use a new name for bots 2022-11-25 17:48:48 +08:00
Lunny Xiao 45afa0ee9f Support most github's sdk 2022-11-25 17:48:48 +08:00
Lunny Xiao 2ecb59c092 rename builds -> bots 2022-11-25 17:48:48 +08:00
Lunny Xiao c61ac24c1c Fix bug 2022-11-25 17:48:48 +08:00
Bo-Yi.Wu 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
Lunny Xiao 88b0ab89d0 Gitea bot will not fire the events otherwise it may causes a forever loop 2022-11-25 17:48:48 +08:00
Jason Song 736275f0b1 feat: support cancel button 2022-11-25 17:48:48 +08:00
Jason Song f3a9a25682 fix: remove build view header 2022-11-25 17:48:47 +08:00
Jason Song 5230c7a364 fix: remove debug log 2022-11-25 17:48:47 +08:00
Bo-Yi Wu 797cdfbdb8 chore(runner): return task state. 2022-11-25 17:48:47 +08:00
Jason Song 0f5aab0c1a chore: remove Result from task and step 2022-11-25 17:48:47 +08:00
Jason Song dd417a3270 chore: move job emitter to service 2022-11-25 17:48:47 +08:00
Lunny Xiao f57e6999a2 Remove unused file 2022-11-25 17:48:47 +08:00
Lunny Xiao f4bbd534b9 Allow gitea bot as trigger user 2022-11-25 17:48:47 +08:00
Lunny Xiao 110072a8d4 Fix log 2022-11-25 17:48:47 +08:00
Lunny Xiao 9a45572ce2 Support bot site 2022-11-25 17:48:47 +08:00
Jason Song 7059cd7265 feat: update runner status 2022-11-25 17:48:47 +08:00
Jason Song 745be45e1b chore: rename to Init 2022-11-25 17:48:47 +08:00
Jason Song 9b021500b0 feat: ignore bots events of repo with disabled builds 2022-11-25 17:48:47 +08:00
Jason Song 717344007a chore: remove GetRunnerByToken 2022-11-25 17:48:47 +08:00
Jason Song 0682f0fcc5 chore: reduse log noise 2022-11-25 17:48:47 +08:00
Jason Song 7b2f1f5a91 chore: fix token format 2022-11-25 17:48:47 +08:00
Jason Song 140d57aecb feat: use runner token hash 2022-11-25 17:48:47 +08:00
Jason Song 94241daaaa feat: check runner token 2022-11-25 17:48:47 +08:00
Jason Song 9c6476754d chore: shouldn't import act_runner 2022-11-25 17:48:47 +08:00
Lunny Xiao fc2c70033a Add default bot url 2022-11-25 17:48:47 +08:00
Jason Song 1a55d39adc fix: ignore ErrAlreadyInQueue 2022-11-25 17:48:47 +08:00
Jason Song 5d83ffa658 chore: log updating task 2022-11-25 17:48:47 +08:00
Jason Song ce39e45cc2 chore: reduce log noise 2022-11-25 17:48:47 +08:00
Jason Song a1ddfb8200 feat: use new FullSteps 2022-11-25 17:48:47 +08:00
Lunny Xiao aa09eb63e1 Support bot user 2022-11-25 17:48:47 +08:00
Lunny Xiao 1ddf3b2d12 Support push via gitea bot 2022-11-25 17:48:47 +08:00