Skip to content

Commit 7e6d7c2

Browse files
committed
Add PR validator
1 parent bd994a8 commit 7e6d7c2

File tree

8 files changed

+316
-14
lines changed

8 files changed

+316
-14
lines changed

Cargo.lock

Lines changed: 103 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ hyper-rustls = { version = "0.27.7", default-features = false, features = [
2727
] }
2828
hyper-util = "0.1.14"
2929
indexmap = { version = "2.9.0", features = ["serde"] }
30+
itertools = "0.14.0"
3031
maplit = "1.0.2"
3132
moka = { version = "0.12.10", features = ["future"] }
3233
octocrab = "0.44.1"

src/bin/match-pr-to-assignment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async fn main() {
6363
.with_assignments(&octocrab, org_name.clone())
6464
.await
6565
.expect("Failed to get assignments");
66-
let module_prs = get_prs(&octocrab, org_name, module_name.clone())
66+
let module_prs = get_prs(&octocrab, org_name, module_name.clone(), true)
6767
.await
6868
.expect("Failed to get PRs");
6969
let pr_in_question = module_prs

0 commit comments

Comments
 (0)