mirror of
https://github.com/lupyuen/lupyuen.github.io.git
synced 2025-01-13 02:08:32 +08:00
GitHub API
This commit is contained in:
parent
31a725327d
commit
bd4d525f8f
1 changed files with 2 additions and 0 deletions
|
@ -346,6 +346,8 @@ _How do we fetch the Pull Request? And post the Review Comment?_
|
|||
|
||||
We call GitHub API with [__Octocrab Crate__](https://github.com/XAMPPRocky/octocrab). (Pic above)
|
||||
|
||||
[(More about __GitHub API for Pull Requests__)](https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28)
|
||||
|
||||
Here we fetch the __20 Newest Pull Requests__ that are Open: [main.rs](https://github.com/lupyuen/nuttx-pr-bot/blob/main/src/main.rs#L97-L115)
|
||||
|
||||
```rust
|
||||
|
|
Loading…
Reference in a new issue