-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Algo group's solution collector #484
Conversation
solution_collector/src/main.rs
Outdated
.repo(&repo) | ||
.pulls() | ||
.number(pull["number"].as_str().unwrap()) | ||
.merge() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thường thì sau khi merge một PR phải đi kèm theo cả bước fetch & pull để update lại working copy, hoặc nếu thông qua API như trên web thì cũng phải chờ phía server update, nên thực hiện liên tục như này liệu có dễ bị API call fail ko?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your suggestion is to add sleep here?
solution_collector/src/main.rs
Outdated
} | ||
|
||
fn main() -> Result<(), Box<Error>> { | ||
let token = env::var("GITHUB_TOKEN").expect("GITHUB_TOKEN is not set"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sao ko push luôn example env file lên luôn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:omg: cái này set tay thôi.
No description provided.