pub async fn insert_workflow_run(
tx: &mut Transaction<'_, Postgres>,
run_id: RunId,
workflow_name: &str,
initiating_user: &str,
repo_url: &str,
workflow_path: &str,
git_ref: &str,
status: RunStatus,
fencing_token: i64,
) -> Result<(), Error>Expand description
Inserts a new workflow run into the database. Insert workflow run.