From 547dd0cabd3517ec6d77e6d159a94a805e7247e0 Mon Sep 17 00:00:00 2001 From: Brian Clemens Date: Wed, 3 Mar 2021 22:31:47 +0900 Subject: [PATCH] trigger document generation only when docs modified --- .github/workflows/documentation.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 044c8abd..fddbdf40 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -3,9 +3,15 @@ name: documentation on: pull_request: - branches: [main] + branches: + - main + paths: + - 'docs/**' push: - branches: [main] + branches: + - main + paths: + - 'docs/**' jobs: checks: