From dd56f8f361dfedeffe36114a0aa708c71350f2b4 Mon Sep 17 00:00:00 2001 From: "Anaz S. Aji" <12648688+ajianaz@users.noreply.github.com> Date: Wed, 2 Dec 2026 08:49:49 +0000 Subject: [PATCH] ci: CORA_PAUSE skips the Cora review job when the repository variable is true A repository variable CORA_PAUSE set to true skips the Cora Review job, which a required check counts as a pass. Unset, empty or any other value reviews as before, so the default is no change. A pull request into main is always reviewed, pause or not. The local Cora agent review stays required. --- .github/workflows/cora-review.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cora-review.yml b/.github/workflows/cora-review.yml index a51b84e..5801bce 100644 --- a/.github/workflows/cora-review.yml +++ b/.github/workflows/cora-review.yml @@ -17,6 +17,9 @@ permissions: jobs: cora-review: name: Cora Review + # CORA_PAUSE: a repository variable (Settings > Secrets and variables > Actions > Variables). `true` skips this job, which a + # required check counts as a pass; unset or anything else reviews as before. A pull request into main is always reviewed. + if: ${{ vars.CORA_PAUSE != 'true' || github.base_ref == 'main' }} runs-on: ubuntu-latest timeout-minutes: 10 steps: