From 1f78b59afcfd16272f5cddc9acf1fbf375401272 Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Tue, 11 Nov 2025 15:29:41 -0800 Subject: [PATCH] ci: only run json check on PRs that change json files (#6656) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes pull_request trigger to only include paths: ['**/*.json'], so JSON validation only runs on PRs whose diffs touch JSON files. Keeps the push trigger for all updates to main to account for direct pushes that bypass PR. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6656-ci-only-run-json-check-on-PRs-that-change-json-files-2a86d73d365081bc8743faee941022f4) by [Unito](https://www.unito.io) --- .github/workflows/ci-json-validation.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-json-validation.yaml b/.github/workflows/ci-json-validation.yaml index 0d8c9392f..ae0359014 100644 --- a/.github/workflows/ci-json-validation.yaml +++ b/.github/workflows/ci-json-validation.yaml @@ -6,6 +6,8 @@ on: branches: - main pull_request: + paths: + - '**/*.json' jobs: json-lint: