From f23f53accd104c2ad7abdfe716706c991356b474 Mon Sep 17 00:00:00 2001 From: Mishig Date: Fri, 18 Nov 2022 11:40:30 +0100 Subject: [PATCH] Trigger doc build on specific changes (#87) * Trigger doc build on specific changes * chore --- .github/workflows/build_pr_documentation.yml | 3 +++ .github/workflows/delete_doc_comment.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build_pr_documentation.yml b/.github/workflows/build_pr_documentation.yml index b121384..a748049 100644 --- a/.github/workflows/build_pr_documentation.yml +++ b/.github/workflows/build_pr_documentation.yml @@ -2,6 +2,9 @@ name: Build PR Documentation on: pull_request: + paths: + - "docs/**" + - "bindings/python/py_src/**" concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} diff --git a/.github/workflows/delete_doc_comment.yml b/.github/workflows/delete_doc_comment.yml index 50b04ed..7d315e8 100644 --- a/.github/workflows/delete_doc_comment.yml +++ b/.github/workflows/delete_doc_comment.yml @@ -3,6 +3,9 @@ name: Delete dev documentation on: pull_request: types: [ closed ] + paths: + - "docs/**" + - "bindings/python/py_src/**" jobs: -- 2.43.0