From 2ddfcfc0894e60480bdb65f048b0c8ced5adca5c Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Tue, 17 Nov 2026 14:00:33 +0000 Subject: [PATCH 1/2] ci(warden): Add code-review skill Co-Authored-By: Martin Linzmayer --- warden.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 warden.toml diff --git a/warden.toml b/warden.toml new file mode 100644 index 000000000..42e61df05 --- /dev/null +++ b/warden.toml @@ -0,0 +1,22 @@ +# Warden Configuration +# https://github.com/getsentry/warden +# +# The org-wide base config already runs security-review on every PR. + +version = 1 + +[[skills]] +name = "code-review" +ignorePaths = ["phpstan-baseline.neon", "analysis-baseline.toml"] +incremental = true +reportOn = "medium" + +# No `draft = false` here on purpose. The org Warden workflow is a +# ruleset-required workflow, and GitHub only runs those on opened, +# synchronize, and reopened, whatever types they list. A draft filter would +# skip PRs that are opened as drafts and marked ready without a new push. +# Reviewing drafts too means those PRs are already reviewed when they leave +# draft. `incremental` keeps each push to the new changes only. +[[skills.triggers]] +type = "pull_request" +actions = ["opened", "synchronize", "reopened"] From c71c1359a81c1cfc6729d8a731ff9633b5373551 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Tue, 17 Nov 2026 14:08:40 +0000 Subject: [PATCH 2/2] ci(warden): Exclude warden.toml from package exports Co-Authored-By: Martin Linzmayer --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index f942120ca..fb056e7a4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -30,3 +30,4 @@ /analysis-baseline.toml export-ignore /mago.toml export-ignore /decision-model-linter export-ignore +/warden.toml export-ignore