Skip to content

Commit bf9d944

Browse files
authoredFeb 21, 2025
2 parents b867f19 + 27ec448 commit bf9d944

File tree

1,723 files changed

+302088
-204391
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,723 files changed

+302088
-204391
lines changed
 

‎.github/workflows/analytics-metadata-updater.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,14 @@ jobs:
4747
run: |
4848
git config --global user.name 'aws-cdk-automation'
4949
git config --global user.email 'aws-cdk-automation@users.noreply.github.com'
50-
git checkout -B ${{ github.event.pull_request.head.ref }}
50+
51+
git fetch origin ${{ github.event.pull_request.head.ref }}
52+
53+
if [ "$(git rev-parse HEAD)" != "$(git rev-parse origin/${{ github.event.pull_request.head.ref }})" ]; then
54+
echo "Remote branch updated since approved commit; aborting."
55+
exit 1
56+
fi
57+
5158
git add .
5259
git commit -m "chore: update analytics metadata blueprints"
5360
git push origin ${{ github.event.pull_request.head.ref }}

‎.github/workflows/codecov.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
8-
8+
99
jobs:
1010
collect:
1111
name: collect
@@ -26,19 +26,13 @@ jobs:
2626
- name: Build Library
2727
run: npx lerna run build --scope=aws-cdk-lib
2828

29-
- name: Build CLI
30-
run: npx lerna run build --scope=aws-cdk
31-
3229
- name: Run Core tests
3330
run: cd packages/aws-cdk-lib && yarn test core
3431

35-
- name: Run CLI tests
36-
run: cd packages/aws-cdk && yarn test
37-
3832
- name: Upload results to Codecov
3933
uses: codecov/codecov-action@v5
4034
with:
41-
files: packages/aws-cdk/coverage/cobertura-coverage.xml,packages/aws-cdk-lib/coverage/cobertura-coverage.xml
35+
files: packages/aws-cdk-lib/coverage/cobertura-coverage.xml
4236
fail_ci_if_error: true
4337
flags: suite.unit
4438
use_oidc: true

0 commit comments

Comments
 (0)
Failed to load comments.