mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-25 14:53:34 +00:00
* ci: add automated PR labeling system Add two independent workflows for PR auto-labeling: - Scope labels via actions/labeler (path glob matching) - Size, risk, and contributor tier via custom shell script Includes idempotent label bootstrap script (create-labels.sh). Co-Authored-By: Claude Opus 4.6 <[email protected]> * ci: temporarily use pull_request trigger for testing Switch to pull_request so workflows run from the PR branch. Will revert to pull_request_target before merge. Co-Authored-By: Claude Opus 4.6 <[email protected]> * fix(ci): use absolute path for search/issues API call gh api requires a leading slash for REST endpoints. Co-Authored-By: Claude Opus 4.6 <[email protected]> * fix(ci): use gh pr list instead of search API for contributor count The search/issues API returns 404 with the default GITHUB_TOKEN. gh pr list --state merged works with standard permissions. Co-Authored-By: Claude Opus 4.6 <[email protected]> * ci: revert to pull_request_target for fork PR support Restore pull_request_target trigger and base branch checkout now that testing is complete. Co-Authored-By: Claude Opus 4.6 <[email protected]> --------- Co-authored-by: Claude Opus 4.6 <[email protected]>
167 lines
3.4 KiB
YAML
167 lines
3.4 KiB
YAML
# Scope labels for actions/labeler@v6
|
|
# Maps file path globs to scope labels. Multiple labels can apply per PR.
|
|
|
|
"scope: agent":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/agent/**
|
|
|
|
"scope: channel":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/channels/channel.rs
|
|
- src/channels/manager.rs
|
|
- src/channels/mod.rs
|
|
|
|
"scope: channel/cli":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/channels/cli/**
|
|
- src/cli/**
|
|
|
|
"scope: channel/web":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/channels/web/**
|
|
|
|
"scope: channel/wasm":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/channels/wasm/**
|
|
|
|
"scope: tool":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/tools/tool.rs
|
|
- src/tools/registry.rs
|
|
- src/tools/mod.rs
|
|
- src/tools/sandbox.rs
|
|
|
|
"scope: tool/builtin":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/tools/builtin/**
|
|
|
|
"scope: tool/wasm":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/tools/wasm/**
|
|
|
|
"scope: tool/mcp":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/tools/mcp/**
|
|
|
|
"scope: tool/builder":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/tools/builder/**
|
|
|
|
"scope: db":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/db/mod.rs
|
|
|
|
"scope: db/postgres":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/db/postgres.rs
|
|
- migrations/**
|
|
|
|
"scope: db/libsql":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/db/libsql_backend.rs
|
|
- src/db/libsql_migrations.rs
|
|
|
|
"scope: safety":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/safety/**
|
|
|
|
"scope: llm":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/llm/**
|
|
|
|
"scope: workspace":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/workspace/**
|
|
|
|
"scope: orchestrator":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/orchestrator/**
|
|
|
|
"scope: worker":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/worker/**
|
|
|
|
"scope: secrets":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/secrets/**
|
|
|
|
"scope: config":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/config.rs
|
|
- src/settings.rs
|
|
|
|
"scope: extensions":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/extensions/**
|
|
|
|
"scope: setup":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/setup/**
|
|
|
|
"scope: evaluation":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/evaluation/**
|
|
|
|
"scope: estimation":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/estimation/**
|
|
|
|
"scope: sandbox":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/sandbox/**
|
|
- Dockerfile*
|
|
|
|
"scope: hooks":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/hooks/**
|
|
|
|
"scope: pairing":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- src/pairing/**
|
|
|
|
"scope: ci":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- .github/workflows/**
|
|
- .github/scripts/**
|
|
|
|
"scope: docs":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- "**/*.md"
|
|
- docs/**
|
|
- LICENSE*
|
|
|
|
"scope: dependencies":
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- Cargo.toml
|
|
- Cargo.lock
|