Unverified Commit 56dac1ce authored by Sayak Paul's avatar Sayak Paul Committed by GitHub
Browse files

limit documentation workflow runs for relevant changes. (#7125)

parent 3daebe2b
...@@ -7,6 +7,10 @@ on: ...@@ -7,6 +7,10 @@ on:
- doc-builder* - doc-builder*
- v*-release - v*-release
- v*-patch - v*-patch
paths:
- "src/diffusers/**.py"
- "examples/"
- "docs/"
jobs: jobs:
build: build:
......
...@@ -2,6 +2,10 @@ name: Build PR Documentation ...@@ -2,6 +2,10 @@ name: Build PR Documentation
on: on:
pull_request: pull_request:
paths:
- "src/diffusers/**.py"
- "examples/"
- "docs/"
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment