From 928684cd8e0f179c868019501a34c5b7386f0f26 Mon Sep 17 00:00:00 2001 From: geoffg-sentry <165922362+geoffg-sentry@users.noreply.github.com> Date: Mon, 16 Nov 2026 15:45:13 -0500 Subject: [PATCH] Trigger warden when PR moved to ready for review Problem we have today is that warden cannot trigger when a PR is moved from draft to ready_for_review because our warden usage uses rulesets. Rulesets can't be used to track that state change. This should mean we catch the state change and this new workflow should not trigger when a PR is cut directly as ready since there's no state change. --- .github/workflows/warden-ready-for-review.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/workflows/warden-ready-for-review.yml diff --git a/.github/workflows/warden-ready-for-review.yml b/.github/workflows/warden-ready-for-review.yml new file mode 100644 index 0000000..9a1693b --- /dev/null +++ b/.github/workflows/warden-ready-for-review.yml @@ -0,0 +1,9 @@ +name: Warden - PR Ready for Review +on: + pull_request: + types: [ready_for_review] +jobs: + warden: + if: github.event.pull_request.head.repo.full_name == github.repository + uses: getsentry/.github/.github/workflows/warden.yml@main + secrets: inherit