Skip to content

ci(classify): treat all src/ projects + root build infra as risk:core#58

Merged
williamdewitt merged 1 commit into
mainfrom
ci/classify-src-providers
Jun 27, 2026
Merged

ci(classify): treat all src/ projects + root build infra as risk:core#58
williamdewitt merged 1 commit into
mainfrom
ci/classify-src-providers

Conversation

@williamdewitt

Copy link
Copy Markdown
Owner

What

classify.yml's isCore only matched p.startsWith('src/Caliber.Webhooks/') (trailing slash), so:

PR #57 had to be relabelled risk:core by hand. Without this, every M2 src/ provider PR mis-classifies the same way.

Change

Broaden isCore to the whole src/ tree plus the root build-props files:

const isCore = paths.some(p =>
  p.startsWith('src/') ||
  p === 'Directory.Build.props' ||
  p === 'Directory.Packages.props' ||
  p === 'Directory.Build.targets'
);

Precedence is unchanged: critical still wins (public API / migrations / security source), .github/workflows/** stays core, and trivial-docs auto-merge is untouched. Header comment updated to match. No behaviour change for the existing core lib.

risk:core (workflow change) — human review + merge.

isCore only matched `src/Caliber.Webhooks/` (trailing slash), so sibling provider
projects (e.g. src/Caliber.Webhooks.EntityFrameworkCore/, added in #57) and the root
build infra (Directory.Build.props/Directory.Packages.props — repo-wide deps and
analyzers) fell through to risk:low. PR #57 had to be relabelled core by hand, and
every M2 storage-provider PR would mis-classify the same way.

Broaden isCore to the whole src/ tree plus the root build-props files. Critical still
wins by precedence (public API / migrations / security source), and .github/workflows/**
stays core. No behaviour change for the existing core lib or trivial-docs auto-merge.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added the risk:core src/Caliber.Webhooks; code-owner review (Opus, high effort) label Jun 27, 2026
@williamdewitt williamdewitt merged commit 4117f6d into main Jun 27, 2026
7 checks passed
@williamdewitt williamdewitt deleted the ci/classify-src-providers branch June 27, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:core src/Caliber.Webhooks; code-owner review (Opus, high effort)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant