From 1786ac0ab3a09eec73d2888f40cb7195ddfde932 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Mon, 28 Sep 2026 19:45:07 +0000 Subject: [PATCH] fix(ci): Load org config for Warden self-review Check out the org configuration and pass it to both local-action stages so self-review uses the shared model defaults instead of Pi's implicit fallback. Co-Authored-By: Greg Pstrucha --- .github/workflows/warden.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/warden.yml b/.github/workflows/warden.yml index c8156fed..b8cb4470 100644 --- a/.github/workflows/warden.yml +++ b/.github/workflows/warden.yml @@ -23,6 +23,12 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Checkout org Warden config + uses: actions/checkout@v4 + with: + repository: ${{ github.repository_owner }}/.github + path: .warden-org + - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: @@ -38,6 +44,7 @@ jobs: uses: ./ with: mode: analyze + base-config-path: .warden-org/warden.toml - uses: actions/create-github-app-token@v1 id: app-token @@ -49,5 +56,6 @@ jobs: uses: ./ with: mode: report + base-config-path: .warden-org/warden.toml findings-file: ${{ steps.warden-analyze.outputs.findings-file }} github-token: ${{ steps.app-token.outputs.token }}