From ab4982ec2c0c38e46616678a599142ef0e3d65c3 Mon Sep 17 00:00:00 2001 From: Ido Heyvi Date: Thu, 14 Nov 2024 09:41:23 +0200 Subject: [PATCH] fixing dosc-ci to auto trigger docs repo PRS for helm, api changes Signed-off-by: Ido Heyvi --- .github/workflows/docs-ci-trigger.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs-ci-trigger.yaml b/.github/workflows/docs-ci-trigger.yaml index e0b7e207..dce82759 100644 --- a/.github/workflows/docs-ci-trigger.yaml +++ b/.github/workflows/docs-ci-trigger.yaml @@ -4,10 +4,20 @@ on: push: tags: - "v*" + paths: + - deployment/**/values.yaml + - api/** + + pull_request: + types: + - opened + - synchronize + - edited + paths: + - deployment/**/values.yaml + - api/** jobs: trigger_downstream_workflow: uses: Mellanox/network-operator-docs/.github/workflows/docs-ci.yaml@main - with: - git_tag: ${{ github.ref_name }} secrets: inherit