File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 2020 - main
2121 merge_group :
2222 types : [checks_requested]
23+ workflow_call :
2324
2425jobs :
2526 component-integration-tests :
2829 run :
2930 shell : bash
3031 steps :
32+ - name : Checkout repository (pull_request_target via workflow_call)
33+ if : ${{ github.event_name == 'pull_request_target' }}
34+ uses : actions/checkout@v4
35+ with :
36+ ref : ${{ github.head_ref || github.event.pull_request.head.ref || github.ref }}
37+ repository : ${{ github.event.pull_request.head.repo.full_name || github.repository }}
38+
3139 - name : Checkout repository
40+ if : ${{ github.event_name != 'pull_request_target' }}
3241 uses : actions/checkout@v4
3342
3443 - name : Setup Rust build environment
Original file line number Diff line number Diff line change 2929 types : [checks_requested]
3030
3131jobs :
32+ docs-verify :
33+ uses : eclipse-score/cicd-workflows/.github/workflows/docs-verify.yml@main
34+ permissions :
35+ pull-requests : write
36+ contents : read
37+ with :
38+ bazel-docs-verify-target : " //:docs_check"
39+
40+ cit-tests :
41+ uses : ./.github/workflows/component_integration_tests.yml
42+ secrets : inherit
43+
3244 build-docs :
45+ needs : [docs-verify, cit-tests] # Test reports are needed for traceability links
46+ if : ${{ always() && needs.docs-verify.result == 'success' }}
3347 uses : eclipse-score/cicd-workflows/.github/workflows/docs.yml@main
3448 permissions :
3549 contents : write
You can’t perform that action at this time.
0 commit comments