@@ -11,6 +11,11 @@ on: # yamllint disable-line rule:truthy
1111 - release-*
1212 workflow_dispatch :
1313
14+ permissions :
15+ contents : read # needed for actions/checkout
16+ pull-requests : read # needed for gh pr list
17+ issues : write # needed to post PR comment
18+
1419jobs :
1520 filter :
1621 runs-on : ubuntu-latest
2126 object-store_changed : ${{ steps.filter.outputs.object-store }}
2227 chat-question-and-answer_changed : ${{ steps.filter.outputs.chat-question-and-answer }}
2328 visual-pipeline-platform-tool_changed : ${{ steps.filter.outputs.visual-pipeline-platform-tool }}
29+ chat-question-and-answer-core_changed : ${{ steps.filter.outputs.chat-question-and-answer-core }}
2430 steps :
2531 - uses : actions/checkout@v4
2632 - name : Set paths filter
@@ -40,40 +46,76 @@ jobs:
4046 - 'sample-applications/chat-question-and-answer/docs**'
4147 visual-pipeline-platform-tool:
4248 - 'tools/visual-pipeline-and-platform-evaluation-tool/docs**'
49+ chat-question-and-answer-core:
50+ - 'sample-applications/chat-question-and-answer-core/docs**'
4351
4452 build_dlstreamer-pipeline-server :
45- if : ${{ (github.event.inputs.target == 'dlstreamer-pipeline-server') || (github.event.inputs.target == 'all-documentation') }}
46- uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@main
47- secrets : inherit
53+ needs : filter
54+ if : ${{ needs.filter.outputs.dlstreamer-pipeline-server_changed == 'true' }}
55+ uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
56+ secrets :
57+ SYS_ORCH_GITHUB : ${{ secrets.SYS_ORCH_GITHUB }}
58+ DOC_AWS_ACCESS_KEY_ID : ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
59+ DOC_AWS_SECRET_ACCESS_KEY : ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
4860 with :
4961 docs_directory : microservices/dlstreamer-pipeline-server
5062 build_document-ingestion :
51- if : ${{ (github.event.inputs.target == 'document-ingestion') || (github.event.inputs.target == 'all-documentation') }}
52- uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@main
53- secrets : inherit
63+ needs : filter
64+ if : ${{ needs.filter.outputs.document-ingestion_changed == 'true' }}
65+ uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
66+ secrets :
67+ SYS_ORCH_GITHUB : ${{ secrets.SYS_ORCH_GITHUB }}
68+ DOC_AWS_ACCESS_KEY_ID : ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
69+ DOC_AWS_SECRET_ACCESS_KEY : ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
5470 with :
5571 docs_directory : microservices/document-ingestion
5672 build_model-registry :
57- if : ${{ (github.event.inputs.target == 'model-registry') || (github.event.inputs.target == 'all-documentation') }}
58- uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@main
59- secrets : inherit
73+ needs : filter
74+ if : ${{ needs.filter.outputs.model-registry_changed == 'true' }}
75+ uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
76+ secrets :
77+ SYS_ORCH_GITHUB : ${{ secrets.SYS_ORCH_GITHUB }}
78+ DOC_AWS_ACCESS_KEY_ID : ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
79+ DOC_AWS_SECRET_ACCESS_KEY : ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
6080 with :
6181 docs_directory : microservices/model-registry
6282 build_object-store :
63- if : ${{ (github.event.inputs.target == 'object-store') || (github.event.inputs.target == 'all-documentation') }}
64- uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@main
65- secrets : inherit
83+ needs : filter
84+ if : ${{ needs.filter.outputs.object-store_changed == 'true' }}
85+ uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
86+ secrets :
87+ SYS_ORCH_GITHUB : ${{ secrets.SYS_ORCH_GITHUB }}
88+ DOC_AWS_ACCESS_KEY_ID : ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
89+ DOC_AWS_SECRET_ACCESS_KEY : ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
6690 with :
6791 docs_directory : microservices/object-store
6892 build_chat-question-and-answer :
69- if : ${{ (github.event.inputs.target == 'chat-question-and-answer') || (github.event.inputs.target == 'all-documentation') }}
70- uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@main
71- secrets : inherit
93+ needs : filter
94+ if : ${{ needs.filter.outputs.chat-question-and-answer_changed == 'true' }}
95+ uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
96+ secrets :
97+ SYS_ORCH_GITHUB : ${{ secrets.SYS_ORCH_GITHUB }}
98+ DOC_AWS_ACCESS_KEY_ID : ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
99+ DOC_AWS_SECRET_ACCESS_KEY : ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
72100 with :
73101 docs_directory : sample-applications/chat-question-and-answer
74102 build_visual-pipeline-platform-tool :
75- if : ${{ (github.event.inputs.target == 'visual-pipeline-platform-tool') || (github.event.inputs.target == 'all-documentation') }}
76- uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@main
77- secrets : inherit
103+ needs : filter
104+ if : ${{ needs.filter.outputs.visual-pipeline-platform-tool_changed == 'true' }}
105+ uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
106+ secrets :
107+ SYS_ORCH_GITHUB : ${{ secrets.SYS_ORCH_GITHUB }}
108+ DOC_AWS_ACCESS_KEY_ID : ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
109+ DOC_AWS_SECRET_ACCESS_KEY : ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
78110 with :
79111 docs_directory : tools/visual-pipeline-and-platform-evaluation-tool
112+ build_chat-question-and-answer-core :
113+ needs : filter
114+ if : ${{ needs.filter.outputs.chat-question-and-answer-core_changed == 'true' }}
115+ uses : open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
116+ secrets :
117+ SYS_ORCH_GITHUB : ${{ secrets.SYS_ORCH_GITHUB }}
118+ DOC_AWS_ACCESS_KEY_ID : ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
119+ DOC_AWS_SECRET_ACCESS_KEY : ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
120+ with :
121+ docs_directory : sample-applications/chat-question-and-answer-core
0 commit comments