Skip to content

chore: exclude benchmark repos from safe-settings - #21

Merged
setlin-hacktron merged 1 commit into
main-enterprisefrom
chore/exclude-bench-repos
Sep 24, 2026
Merged

setlin-hacktron merged 1 commit into
main-enterprisefrom
chore/exclude-bench-repos

Conversation

@setlin-hacktron

Copy link
Copy Markdown

Why

jikun's new benchmark repos picked up the org-default branch protection from .github/settings.yml. Any manual edit to it was reverted by hacktron-safe-settings[bot] within ~2s (see the org audit log for hacktron-bench, 2026-09-24). These are research/benchmark repos, not customer-facing, and he needs to manage protection himself.

Change

Adds to deploymentConfig.restrictedRepos.exclude (minimatch globs, full-name match):

  • hacktron-bench (harness; pins datasets as submodules)
  • bench-dataset-* (one repo per dataset; covers current 10 + future ones)
  • llm-router

Existing branch protection on these repos is left in place; the bot just stops enforcing it, so the owner can edit/remove it.

Unit test extended to assert the new exclusions and that web / hacktron stay managed.

Deploy

Touches helm/safe-settings/**, so merging to main-enterprise triggers Deploy safe-settings (tests → image → Helm upgrade on safe-settings-cluster).

🤖 Generated with Claude Code

https://claude.ai/code/session_01A6rDqmzwhbo5u5WmMm5YYc

hacktron-bench, bench-dataset-* and llm-router are benchmark/research
repos whose owner needs to manage their own branch protection; the org
default was reverting manual edits within seconds. bench-dataset-* is a
glob so each new per-dataset repo is covered without another change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6rDqmzwhbo5u5WmMm5YYc
@setlin-hacktron
setlin-hacktron merged commit c92286d into main-enterprise Sep 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant