diff options
author | iximeow <me@iximeow.net> | 2023-07-01 16:19:22 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-07-01 16:19:22 -0700 |
commit | 1a8022a65341a2c796580451b33eddcbde67686b (patch) | |
tree | 7e961bdb1aa5e27f31640095fc8e8f69450dfe03 | |
parent | b8ec38d75ba1b84bb36e8dfbe2613848877e5d22 (diff) |
create a new run to go with a job
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index b7be4b6..1325d16 100644 --- a/src/main.rs +++ b/src/main.rs @@ -260,6 +260,7 @@ async fn process_push_event(ctx: Arc<DbCtx>, owner: String, repo: String, event: .expect("is str"); let job_id = ctx.new_job(remote_id, &sha, Some(pusher_email)).unwrap(); + let _ = ctx.new_run(job_id).unwrap(); let notifiers = ctx.notifiers_by_repo(repo_id).expect("can get notifiers"); |