From 89df44f78293c78a0c3a20acaf2a7a84fe059d0f Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Tue, 4 Jun 2024 22:03:09 +0200 Subject: [PATCH] skip building when changing docs (#635) Signed-off-by: Uilian Ries --- .github/workflows/linux-clang-build.yml | 4 ++++ .github/workflows/linux-gxx-build.yml | 4 ++++ .github/workflows/linux-static-analysis.yml | 4 ++++ .github/workflows/macos-clang-build.yml | 4 ++++ .github/workflows/publish-docs.yml | 4 +++- .github/workflows/windows-msvc-build.yml | 4 ++++ 6 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux-clang-build.yml b/.github/workflows/linux-clang-build.yml index 457a896cd..9bd57cd3c 100644 --- a/.github/workflows/linux-clang-build.yml +++ b/.github/workflows/linux-clang-build.yml @@ -4,6 +4,10 @@ on: push: branches: - 'main' + paths-ignore: + - 'docs/**' + - '**/*.md' + - 'LICENSE' workflow_dispatch: pull_request: diff --git a/.github/workflows/linux-gxx-build.yml b/.github/workflows/linux-gxx-build.yml index 72ad3a801..d58b7de61 100644 --- a/.github/workflows/linux-gxx-build.yml +++ b/.github/workflows/linux-gxx-build.yml @@ -4,6 +4,10 @@ on: push: branches: - 'main' + paths-ignore: + - 'docs/**' + - '**/*.md' + - 'LICENSE' workflow_dispatch: pull_request: diff --git a/.github/workflows/linux-static-analysis.yml b/.github/workflows/linux-static-analysis.yml index ef2143721..0944c98b0 100644 --- a/.github/workflows/linux-static-analysis.yml +++ b/.github/workflows/linux-static-analysis.yml @@ -4,6 +4,10 @@ on: push: branches: - 'main' + paths-ignore: + - 'docs/**' + - '**/*.md' + - 'LICENSE' workflow_dispatch: pull_request: diff --git a/.github/workflows/macos-clang-build.yml b/.github/workflows/macos-clang-build.yml index 89ffd95b5..e34d7f469 100644 --- a/.github/workflows/macos-clang-build.yml +++ b/.github/workflows/macos-clang-build.yml @@ -4,6 +4,10 @@ on: push: branches: - 'main' + paths-ignore: + - 'docs/**' + - '**/*.md' + - 'LICENSE' workflow_dispatch: pull_request: diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index e65c13a2b..b1a1aacb9 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -4,7 +4,9 @@ on: push: branches: - 'main' - + paths-ignore: + - '**/*.md' + - 'LICENSE' jobs: publish: runs-on: ubuntu-latest diff --git a/.github/workflows/windows-msvc-build.yml b/.github/workflows/windows-msvc-build.yml index e9e85ec4d..237f1a3b3 100644 --- a/.github/workflows/windows-msvc-build.yml +++ b/.github/workflows/windows-msvc-build.yml @@ -5,6 +5,10 @@ on: branches: - 'main' - 'ci/cache' + paths-ignore: + - 'docs/**' + - '**/*.md' + - 'LICENSE' workflow_dispatch: pull_request: