diff --git a/.github/workflows/docs-ci-trigger.yaml b/.github/workflows/docs-ci-trigger.yaml index 7931aa7a9..5b9d84abb 100644 --- a/.github/workflows/docs-ci-trigger.yaml +++ b/.github/workflows/docs-ci-trigger.yaml @@ -6,13 +6,18 @@ on: #- test-netops-docs-workflow paths: - manifests/** + pull_request: + paths: + - manifests/** jobs: trigger_downstream_workflow: + #if: ${{ github.event_name == 'pull_request' }} uses: heyvister1/network-operator-docs/.github/workflows/docs-ci.yaml@test-netops-docs-workflow with: #git_tag: v24.10.0-beta.4 #${{ github.ref_name }} ref_name: ${{ github.ref_name }} ref_type: ${{ github.ref_type }} + event_type: ${{ github.event_name }} secrets: token: ${{ secrets.GH_TOKEN_NVIDIA_CI_CD }} diff --git a/manifests/test-docs-workflow.yaml b/manifests/test-docs-workflow.yaml index 0eccbc280..3bad93406 100644 --- a/manifests/test-docs-workflow.yaml +++ b/manifests/test-docs-workflow.yaml @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -# trigger ci workflow X 18 \ No newline at end of file +# trigger ci workflow X 21 \ No newline at end of file