Skip to content

ci: skip nightly benchmark on forks - #1

Merged
Chesars merged 1 commit into
masterfrom
claude/add-github-repo-guard-xmNGA
May 16, 2026
Merged

Chesars merged 1 commit into
masterfrom
claude/add-github-repo-guard-xmNGA

Conversation

@Chesars

@Chesars Chesars commented May 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds if: github.repository == 'langchain-ai/deepagents' to both jobs in .github/workflows/_benchmark_nightly.yml so the scheduled CodSpeed sweep no-ops on forks instead of failing nightly.

Why

This fork (Chesars/deepagents) doesn't have CodSpeed access / upstream secrets, so the cron run fails every night and floods the inbox with "Benchmark (nightly) workflow run failed at startup for master branch" notifications. Gating the jobs by repository keeps upstream behavior intact while making forks silent by default.

Test plan

  • Confirm the next scheduled run on the fork is skipped (jobs evaluate the if and don't execute).
  • Verify the workflow still runs normally on langchain-ai/deepagents (no change for upstream).

Generated by Claude Code

Guards the scheduled CodSpeed sweep so it no-ops on forks (it lacks
upstream secrets/CodSpeed access and just produces failure noise).
@Chesars
Chesars force-pushed the claude/add-github-repo-guard-xmNGA branch from 5adc716 to 65d6ac7 Compare May 16, 2026 13:41
@Chesars
Chesars merged commit ad57f27 into master May 16, 2026
28 of 29 checks passed
@Chesars
Chesars deleted the claude/add-github-repo-guard-xmNGA branch May 16, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant