From 72700be7dd5226391f93c7ff01666e91575b39ff Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Tue, 27 Dec 2022 23:58:17 +0800 Subject: [PATCH] chore(ci): fix workflow trigger conditions --- .github/workflows/ci.yml | 2 -- .github/workflows/style-lint.yml | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5b4672..79d04c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,8 +4,6 @@ on: branches-ignore: - 'production' - 'docs' - tags-ignore: - - '**' paths-ignore: - '.github/**' - '!.github/workflows/ci.yml' diff --git a/.github/workflows/style-lint.yml b/.github/workflows/style-lint.yml index e0bdf6d..2f1cdd0 100644 --- a/.github/workflows/style-lint.yml +++ b/.github/workflows/style-lint.yml @@ -2,10 +2,11 @@ name: 'Style Lint' on: push: + branches-ignore: + - 'production' + - 'docs' paths: - '_sass/**/*.scss' - tags-ignore: - - '**' pull_request: paths: - '_sass/**/*.scss'