From b901ce6742888552a502ba62b0b179f91588f4e0 Mon Sep 17 00:00:00 2001 From: Roger <50648015+RogerLamTd@users.noreply.github.com> Date: Tue, 13 Aug 2024 18:09:00 -0700 Subject: [PATCH] feat(repo): ignore changes to docs for build (#343) * feat(repo): ignore changes to docs for build * ignore docs openapi workflow --- .github/workflows/ci-all.yml | 2 ++ .github/workflows/openapi-deploy.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci-all.yml b/.github/workflows/ci-all.yml index dd39656fe..0a1130276 100644 --- a/.github/workflows/ci-all.yml +++ b/.github/workflows/ci-all.yml @@ -7,11 +7,13 @@ on: - "host/**" - "lib/**" - "script/**" + - "!docs/**" pull_request: paths: - "host/**" - "lib/**" - "script/**" + - "!docs/**" merge_group: env: diff --git a/.github/workflows/openapi-deploy.yml b/.github/workflows/openapi-deploy.yml index 01c47cb86..2e01cea6e 100644 --- a/.github/workflows/openapi-deploy.yml +++ b/.github/workflows/openapi-deploy.yml @@ -3,6 +3,8 @@ name: OpenAPI on: push: branches: ["main"] + paths-ignore: + - "docs/**" pull_request: merge_group: