Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/trigger-docs.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Trigger Documentation Generation

# Docs are written once the code PR is merged, so the docs PR reflects what shipped.
on:
pull_request:
types:
- opened
- synchronize
- closed

# This repo is public; GitHub forbids public callers from using a reusable
# workflow that lives in a private repo (dc-docs). Private repos such as
# haystack-hub-api still call generate-docs.yml via `workflow_call`. Keep the
# steps here in sync with deepset-ai/dc-docs/.github/workflows/generate-docs.yml.
jobs:
trigger-docs:
if: github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false
if: github.event.pull_request.merged == true && github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Check out dc-docs
Expand Down
Loading