diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index dbf8d9a00..5af70b0dc 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -4,6 +4,12 @@ on: pull_request: types: [opened, synchronize, reopened] + # Run the workflow only when one of these files changes + paths: + - '**/*.md' # any Markdown file + - '**/*.qmd' # any Quarto file + - '_quarto.yaml' + permissions: checks: write contents: write