From c2b6ac4e34bae197c179def350e53ae6e7523a48 Mon Sep 17 00:00:00 2001 From: Sayak Paul Date: Fri, 1 Mar 2024 07:18:49 +0530 Subject: [PATCH] [CI] fix path filtering in the documentation workflows (#7153) fix: path --- .github/workflows/build_documentation.yml | 4 ++-- .github/workflows/build_pr_documentation.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 17d65b07e9..d9054928ed 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -9,8 +9,8 @@ on: - v*-patch paths: - "src/diffusers/**.py" - - "examples/" - - "docs/" + - "examples/**" + - "docs/**" jobs: build: diff --git a/.github/workflows/build_pr_documentation.yml b/.github/workflows/build_pr_documentation.yml index 267381fd64..8e19d8fafb 100644 --- a/.github/workflows/build_pr_documentation.yml +++ b/.github/workflows/build_pr_documentation.yml @@ -4,8 +4,8 @@ on: pull_request: paths: - "src/diffusers/**.py" - - "examples/" - - "docs/" + - "examples/**" + - "docs/**" concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}