From 65a45aaac202eade992168053592f1f0fccc0e08 Mon Sep 17 00:00:00 2001 From: Rishab Nayak Date: Mon, 23 Oct 2023 06:34:04 -0400 Subject: [PATCH] ci(hogql): Don't run parser build workflow on forks (#18018) * only run hogql parser workflow if running from upstream repo * Fix capitalization --------- Co-authored-by: Michael Matloka --- .github/workflows/build-hogql-parser.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-hogql-parser.yml b/.github/workflows/build-hogql-parser.yml index 476ce7082243d..22ead983fd781 100644 --- a/.github/workflows/build-hogql-parser.yml +++ b/.github/workflows/build-hogql-parser.yml @@ -19,6 +19,7 @@ concurrency: jobs: check-version: name: Check version legitimacy + if: github.repository == 'PostHog/posthog' runs-on: ubuntu-22.04 outputs: parser_any_changed: ${{ steps.changed-files-yaml.outputs.parser_any_changed }}