From 563c3836708502b1a2319742201f4f5d36462ce0 Mon Sep 17 00:00:00 2001 From: mayurrawte Date: Mon, 19 Oct 2026 16:18:48 +0530 Subject: [PATCH] ci: run the org code gate on pull requests so a ruleset can require it --- .github/workflows/org-code-gate.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/org-code-gate.yml b/.github/workflows/org-code-gate.yml index f6ee1ba..d247d6a 100644 --- a/.github/workflows/org-code-gate.yml +++ b/.github/workflows/org-code-gate.yml @@ -1,11 +1,8 @@ name: Org Code Gate on: - workflow_call: - inputs: - gate-ref: - type: string - default: main + pull_request: + types: [opened, synchronize, reopened, edited] permissions: contents: read @@ -22,7 +19,7 @@ jobs: - uses: actions/checkout@v4 with: repository: shipthisco/.github - ref: ${{ inputs.gate-ref }} + ref: main path: .org-gate - uses: actions/setup-python@v5