Pass CI_FNL constant directly to Pipeline::load
The name binding was redundant.

Assisted-by: GLM-5.1 via pi
change mvwqtuzxzunnzynwlomvqtxnvpszvoxn
commit 1e765d09d29be7f9ac17434c358de506754f1894
author Alpha Chen <alpha@kejadlen.dev>
date
parent tnkulons
diff --git a/src/ci/mod.rs b/src/ci/mod.rs
index 8896598..8c4931d 100644
--- a/src/ci/mod.rs
+++ b/src/ci/mod.rs
@@ -161,8 +161,7 @@ fn trigger_ref(
         "created CI run"
     );
 
-    let name = CI_FNL.to_string();
-    let pipeline = match Pipeline::load(&source, &name) {
+    let pipeline = match Pipeline::load(&source, CI_FNL) {
         Ok(p) => p,
         Err(e) => {
             run.transition(RunState::Active)?;