File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11name : Test with upstream linkml
22on :
3+ pull_request_review :
4+ types : [ submitted ]
35 workflow_dispatch :
46
57jobs :
68 test_upstream :
9+ if : github.event_name == 'workflow_dispatch' || github.event.review.state == 'APPROVED'
710 strategy :
8- fail-fast : false
911 matrix :
1012 os : [ ubuntu-latest, windows-latest ]
1113 python-version : [ "3.8", "3.9", "3.10", "3.11" ]
@@ -24,17 +26,20 @@ jobs:
2426 runs-on : ${{ matrix.os }}
2527
2628 steps :
29+
2730 - name : checkout upstream
2831 uses : actions/checkout@v4
2932 with :
3033 repository : linkml/linkml
3134 path : linkml
35+ ref : main
3236 fetch-depth : 0
3337
3438 - name : checkout linkml-runtime
3539 uses : actions/checkout@v4
3640 with :
37- repository : linkml/linkml-runtime
41+ # don't specify repository like this or else we won't get pull request branches correctly
42+ # repository: linkml/linkml-runtime
3843 path : linkml-runtime
3944 fetch-depth : 0
4045
You can’t perform that action at this time.
0 commit comments