Skip to content

Commit a5c37ee

Browse files
committed
add source-version-override
1 parent 0dc6132 commit a5c37ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/codebuild-ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request_target:
44

55
concurrency:
6-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref }}
77
cancel-in-progress: true
88

99
permissions:
@@ -24,6 +24,7 @@ jobs:
2424
uses: aws-actions/aws-codebuild-run-build@v1
2525
with:
2626
project-name: sagemaker-python-sdk-ci-codestyle-doc-tests
27+
source-version-override: 'pr/${{ github.event.pull_request.number }}'
2728
unit-tests:
2829
runs-on: ubuntu-latest
2930
strategy:
@@ -41,6 +42,7 @@ jobs:
4142
uses: aws-actions/aws-codebuild-run-build@v1
4243
with:
4344
project-name: sagemaker-python-sdk-ci-unit-tests
45+
source-version-override: 'pr/${{ github.event.pull_request.number }}'
4446
env-vars-for-codebuild: |
4547
PY_VERSION
4648
env:

0 commit comments

Comments
 (0)