Skip to content

Commit

Permalink
完成pull request监控
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekoer committed Aug 4, 2021
1 parent 452fac5 commit b7823e7
Show file tree
Hide file tree
Showing 4 changed files with 651 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "com.hcyacg"
version = "1.4-dev-3"
version = "1.5"

repositories {
mavenLocal()
Expand Down
10 changes: 6 additions & 4 deletions src/main/kotlin/GithubTask.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ package com.hcyacg
import com.alibaba.fastjson.JSONArray
import com.alibaba.fastjson.JSONObject
import com.hcyacg.entity.Branch
import com.hcyacg.github.Branches
import com.hcyacg.github.*


import com.hcyacg.github.Commits
import com.hcyacg.github.Issues
import com.hcyacg.github.Releases
import entity.Issue
import entity.IssueItem
import entity.PullItem
import entity.Release
import kotlinx.coroutines.*
import net.mamoe.mirai.console.command.CommandSender
Expand All @@ -35,6 +33,7 @@ class GithubTask {
var branches = HashMap<String,List<Branch>>()
var releases = HashMap<String,Release>()
var issueItem = HashMap<String,IssueItem>()
var pullItem = HashMap<String,PullItem>()
var all:Int = 0
var taskMillisecond:Long = 5000

Expand Down Expand Up @@ -70,6 +69,9 @@ class GithubTask {
Issues().checkIssuesUpdate(
projects = e
)
Pulls().checkPullsUpdate(
projects = e
)

}
}
Expand Down
Loading

0 comments on commit b7823e7

Please sign in to comment.