From 495762f16b8473abfcdba4599956b43e60f8a9b1 Mon Sep 17 00:00:00 2001 From: lbbniu Date: Wed, 20 Apr 2022 11:00:59 +0800 Subject: [PATCH] Optimize docs preview github action trigger rule --- .github/workflows/preview.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 816e096ab..dce97ba6e 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -4,6 +4,9 @@ on: pull_request_target: # when using teardown: 'true', add default event types + closed event type types: [opened, synchronize, reopened, closed] + paths: + - 'docs/**' + - '*.md' jobs: preview: