From e312b9d79a6168fae48478724fc928adefea7f07 Mon Sep 17 00:00:00 2001 From: Stephanie Anderson Date: Tue, 24 Nov 2026 15:27:45 +0100 Subject: [PATCH] ci: Add the fact sheet for the PR classifiers The PR classifiers label a pull request's risk from a map of this repository's paths: which ship, where that code runs, and which are tests, docs or build configuration. That map lived in the internal classifiers repository and now lives here, so it can change together with the code it describes. Co-Authored-By: Claude Fable 5.2 --- .github/classifiers.toml | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/classifiers.toml diff --git a/.github/classifiers.toml b/.github/classifiers.toml new file mode 100644 index 000000000..3facc35a2 --- /dev/null +++ b/.github/classifiers.toml @@ -0,0 +1,47 @@ +# getsentry/sentry-ruby eca24096568a277a8779fb6c9948edd2cd489041 + +rubric = "sdk" + +# One gem per sentry-*/ directory. Each gemspec packages `git ls-files` of its directory minus +# spec/, benchmarks/, examples/, test-matrix.json and .rubocop.yml, so most other files in a gem +# directory end up inside the published .gem. +[[area]] +paths = ["sentry-*/**"] +families = ["server"] + +# sentry-ruby (and the sentry-ruby-core wrapper gem) is required by every other gem. +# Its built-in integrations (net/http, rack, redis, puma, excon, faraday, ...) live in the same lib tree. +# Its gemspecs declare the runtime dependencies every other gem inherits. +[[area]] +paths = ["sentry-ruby/lib/**", "sentry-ruby/*.gemspec"] +families = ["server"] +shared_core = true + +[[kind]] +paths = [ + "sentry-*/spec/**", "sentry-*/benchmarks/**", "sentry-*/test-matrix.json", ".rspec", "sentry-*/.rspec", + "spec/**", "lib/sentry/test/**", +] +kind = "tests" + +# Per-gem test-matrix lockfiles; they are packaged into the .gem, so not marked as tests. +[[kind]] +paths = ["sentry-*/gemfiles/**", "Gemfile.dev", "Gemfile.rubocop", "Gemfile.rubocop.lock"] +kind = "dependencies" + +[[kind]] +paths = [ + "**/Rakefile", "bin/**", "sentry-*/bin/**", ".scripts/**", ".mise.toml", ".mise.ci.toml", + ".devcontainer/**", +] +kind = "build-release" + +[[kind]] +paths = ["sentry-*/.yardopts"] +kind = "docs" + +[[kind]] +paths = [ + ".rubocop.yml", "codecov.yml", "sentry-ruby.code-workspace", "agents.toml", +] +kind = "dev-tooling"