diff --git a/.github/workflows/validate-sentry-options.yml b/.github/workflows/validate-sentry-options.yml new file mode 100644 index 00000000..80b3c7ca --- /dev/null +++ b/.github/workflows/validate-sentry-options.yml @@ -0,0 +1,16 @@ +name: Validate sentry-options schema + +on: + pull_request: + paths: + - 'sentry-options/schemas/**' + +permissions: + contents: read + +jobs: + validate: + uses: getsentry/sentry-options/.github/workflows/validate-schema.yml@586df8a9214a4bb7d5cf0a39b6bb3887ddab70c6 # v1.0.1 + secrets: inherit + with: + schemas-path: sentry-options/schemas diff --git a/Cargo.toml b/Cargo.toml index b5b0a3c7..9dd89f03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,3 +53,4 @@ tokio-util = "0.7.15" tracing = "0.1.41" tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] } uuid = { version = "1.17.0", features = ["v4"] } +sentry-options = "1.0.1" diff --git a/sentry-options/schemas/objectstore/schema.json b/sentry-options/schemas/objectstore/schema.json new file mode 100644 index 00000000..2ffee859 --- /dev/null +++ b/sentry-options/schemas/objectstore/schema.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "type": "object", + "properties": {} +}