Skip to content

Commit 39513e2

Browse files
committed
fix: Correct workflow name for run_unit_evals
The run_unit_evals.yml workflow was incorrectly named 'run_agent_evals' due to both workflows being generated from the same module. This caused duplicate workflow names in GitHub Actions. Changes: - Updated run_agent_evals.rs to explicitly set the workflow name for run_unit_evals to 'run_unit_evals' - Regenerated workflows using 'cargo xtask workflows' - The workflow file now correctly identifies itself as 'run_unit_evals' This fixes potential CI/CD issues where GitHub Actions would be confused by duplicate workflow names.
1 parent eccdfed commit 39513e2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/run_unit_evals.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Generated from xtask::workflows::run_agent_evals
1+
# Generated from xtask::workflows::run_unit_evals
22
# Rebuild with `cargo xtask workflows`.
3-
name: run_agent_evals
3+
name: run_unit_evals
44
env:
55
CARGO_TERM_COLOR: always
66
CARGO_INCREMENTAL: '0'

tooling/xtask/src/tasks/workflows/run_agent_evals.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ fn agent_evals() -> NamedJob {
5757
pub(crate) fn run_unit_evals() -> Workflow {
5858
let unit_evals = unit_evals();
5959

60-
named::workflow()
60+
Workflow::default()
61+
.name("run_unit_evals".to_string())
6162
.on(Event::default()
6263
.schedule([
6364
// GitHub might drop jobs at busy times, so we choose a random time in the middle of the night.

0 commit comments

Comments
 (0)