From d9499dc56b762ce59932958e3673ca8ca0a86347 Mon Sep 17 00:00:00 2001 From: sunxyw Date: Sat, 2 Apr 2022 21:00:56 +0800 Subject: [PATCH] restrict workflows trigger path --- .github/workflows/integration-test.yml | 10 ++++------ .github/workflows/vuepress-deploy.yml | 2 ++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index d1be2dba..c3a876ac 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -4,9 +4,8 @@ on: push: branches: - master - paths-ignore: - - '**.md' - - 'docs/**' + paths: + - '**/**.php' pull_request: branches: - master @@ -16,9 +15,8 @@ on: - reopened - ready_for_review - review_requested - paths-ignore: - - '**.md' - - 'docs/**' + paths: + - '**/**.php' jobs: integration: diff --git a/.github/workflows/vuepress-deploy.yml b/.github/workflows/vuepress-deploy.yml index 68db8fd5..b115eb01 100644 --- a/.github/workflows/vuepress-deploy.yml +++ b/.github/workflows/vuepress-deploy.yml @@ -3,6 +3,8 @@ on: push: branches: - master + paths: + - 'docs/**' jobs: build: