File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ name: Sagemaker PR Checks
22on :
33 pull_request_target :
44 branches :
5- - " master-v3 "
5+ - " master"
66 paths :
77 - ' sagemaker-train/**'
88 - ' sagemaker-serve/**'
99 - ' sagemaker-mlops/**'
10+ - ' sagemaker-core/**'
1011
1112concurrency :
1213 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref }}
9394 SUBMODULES=$(echo $SUBMODULES | sed 's/\]$/,"sagemaker-mlops"\]/')
9495 fi
9596 fi
97+ if echo "$CHANGES" | grep -q "^sagemaker-core/"; then
98+ if [ "$SUBMODULES" = '[]' ]; then
99+ SUBMODULES='["sagemaker-core"]'
100+ else
101+ SUBMODULES=$(echo $SUBMODULES | sed 's/\]$/,"sagemaker-core"\]/')
102+ fi
103+ fi
96104 echo "Final SUBMODULES: $SUBMODULES"
97105 echo "submodules=$SUBMODULES" >> $GITHUB_OUTPUT
98106
@@ -158,4 +166,4 @@ jobs:
158166 uses : aws-actions/aws-codebuild-run-build@v1
159167 with :
160168 project-name : ${{ github.event.repository.name }}-ci-${{ matrix.submodule }}-integ-tests
161- source-version-override : ' refs/pull/${{ github.event.pull_request.number }}/head^{${{ github.event.pull_request.head.sha }}}'
169+ source-version-override : ' refs/pull/${{ github.event.pull_request.number }}/head^{${{ github.event.pull_request.head.sha }}}'
You can’t perform that action at this time.
0 commit comments