From f8d97be932da2def289050454fd7d8a042c3727c Mon Sep 17 00:00:00 2001 From: Yeuoly <45712896+Yeuoly@users.noreply.github.com> Date: Mon, 24 Jun 2024 23:31:54 +0800 Subject: [PATCH] fix: useless CI style checks (#5559) --- .github/workflows/style.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index f6092c8633..0937115b74 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -11,6 +11,7 @@ concurrency: jobs: python-style: + if: contains(github.event.pull_request.changed_files, 'api/') name: Python Style runs-on: ubuntu-latest @@ -50,6 +51,7 @@ jobs: run: echo "Please run 'dev/reformat' to fix the fixable linting errors." web-style: + if: contains(github.event.pull_request.changed_files, 'web/') name: Web Style runs-on: ubuntu-latest defaults: