From 877ea710d6bbb64dde75b8b3dfe9d1084f9bc4ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E6=A1=93=E6=A1=93?= Date: Sun, 5 Mar 2023 18:09:07 +0800 Subject: [PATCH] chore(ci): only run `lint` and `build` when specified files modified --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 083bd63..b05bb9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,12 @@ on: push: branches: - master + paths: + - src/**.scss + - package.json + - Gruntfile.coffee + - .stylelintrc + - .stylelintignore pull_request: branches: - master