Skip to content

Commit 3697bf6

Browse files
Merge branch 'main' into createModelCustomizationJob
2 parents 09240f4 + d7ad66d commit 3697bf6

File tree

3,150 files changed

+1302459
-239712
lines changed

Some content is hidden

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

3,150 files changed

+1302459
-239712
lines changed

.gitattributes

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# Set the default behavior, in case people don't have core.autocrlf set.
22
* text=auto
3-
43
# Currently, this repository has LF dependencies in building and testing, with json, sh, and no extensions.
54
# Until this is fixed, it is best to just set the whole repository to be LF.
65
* eol=lf
7-
86
*.gif binary
97
*.zip binary
108
*.png binary
119
*.jpg binary
1210
*.tgz binary
1311
*.tar.gz binary
14-
1512
# Hide snapshots from GitHub UI, except for the actual templates
1613
**/*.snapshot/** linguist-generated
1714
**/*.snapshot/**/*.template.json -linguist-generated
1815
**/*.snapshot/**/*DeployAssert*.template.json linguist-generated
16+
packages/@aws-cdk-testing/framework-integ/test/aws-s3-deployment/test/integ.bucket-deployment-big-response.js.snapshot/asset.3322b7049fb0ed2b7cbb644a2ada8d1116ff80c32dca89e6ada846b5de26f961.zip filter=lfs diff=lfs merge=lfs -text

.github/workflows/codeql.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
analyze:
11+
# Need this because the default runners run out of disk space
12+
runs-on: [aws-cdk_ubuntu-latest_16-core]
13+
14+
name: Analyze (${{ matrix.language }})
15+
# Runner size impacts CodeQL analysis time. To learn more, please see:
16+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
17+
# - https://gh.io/supported-runners-and-hardware-resources
18+
# - https://gh.io/using-larger-runners (GitHub.com only)
19+
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
20+
permissions:
21+
# required for all workflows
22+
security-events: write
23+
24+
# required to fetch internal or private CodeQL packs
25+
packages: read
26+
27+
# only required for workflows in private repositories
28+
actions: read
29+
contents: read
30+
31+
strategy:
32+
fail-fast: false
33+
matrix:
34+
include:
35+
- language: javascript-typescript
36+
build-mode: none
37+
- language: python
38+
build-mode: none
39+
steps:
40+
- name: Checkout repository
41+
uses: actions/checkout@v4
42+
43+
# Initializes the CodeQL tools for scanning.
44+
- name: Initialize CodeQL
45+
uses: github/codeql-action/init@v3
46+
with:
47+
languages: ${{ matrix.language }}
48+
build-mode: ${{ matrix.build-mode }}
49+
# If you wish to specify custom queries, you can do so here or in a config file.
50+
# By default, queries listed here will override any specified in a config file.
51+
# Prefix the list here with "+" to use these queries and those in the config file.
52+
53+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
54+
# queries: security-extended,security-and-quality
55+
56+
# If the analyze step fails for one of the languages you are analyzing with
57+
# "We were unable to automatically build your code", modify the matrix above
58+
# to set the build mode to "manual" for that language. Then modify this step
59+
# to build your code.
60+
# ℹ️ Command-line programs to run using the OS shell.
61+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
62+
- if: matrix.build-mode == 'manual'
63+
shell: bash
64+
run: |
65+
echo 'If you are using a "manual" build mode for one or more of the' \
66+
'languages you are analyzing, replace this with the commands to build' \
67+
'your code, for example:'
68+
echo ' make bootstrap'
69+
echo ' make release'
70+
exit 1
71+
72+
- name: Perform CodeQL Analysis
73+
uses: github/codeql-action/analyze@v3
74+
with:
75+
category: "/language:${{matrix.language}}"

.github/workflows/github-merit-badger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
badges: '[beginning-contributor,repeat-contributor,valued-contributor,admired-contributor,star-contributor,distinguished-contributor]'
1818
thresholds: '[0,3,6,13,25,50]'
1919
badge-type: 'achievement'
20-
ignore-usernames: '[rix0rrr,iliapolo,otaviomacedo,kaizencc,comcalvi,TheRealAmazonKendra,vinayak-kukreja,mrgrain,pahud,cgarvis,kellertk,ashishdhingra,HBobertz,sumupitchayan,SankyRed,udaypant,colifran,khushail,scanlonp,mikewrighton,moelasmar,paulhcsun,awsmjs,evgenyka,GavinZZ,aaythapa,xazhao,ConnorRobertson,ssenchenko,gracelu0,jfuss,SimonCMoore,shikha372,kirtishrinkhala,godwingrs22,bergjaak,IanKonlog,Leo10Gama,samson-keung,scorbiere,aws-cdk-automation,dependabot[bot],mergify[bot]]'
20+
ignore-usernames: '[rix0rrr,iliapolo,otaviomacedo,kaizencc,comcalvi,TheRealAmazonKendra,mrgrain,pahud,kellertk,ashishdhingra,HBobertz,sumupitchayan,colifran,khushail,moelasmar,paulhcsun,GavinZZ,aaythapa,xazhao,gracelu0,jfuss,shikha372,kirtishrinkhala,godwingrs22,bergjaak,IanKonlog,Leo10Gama,samson-keung,scorbiere,michelle-wangg,jiayiwang7,1kaileychen,aws-cdk-automation,dependabot[bot],mergify[bot]]'

.github/workflows/request-cli-integ-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
persist-credentials: false
2020
- name: Find changed cli files
2121
id: changed-cli-files
22-
uses: tj-actions/changed-files@c65cd883420fd2eb864698a825fc4162dd94482c
22+
uses: tj-actions/changed-files@c3a1bb2c992d77180ae65be6ae6c166cf40f857c
2323
with:
2424
base_sha: ${{ github.event.pull_request.base.sha }}
2525
files_yaml: |
@@ -54,13 +54,13 @@ jobs:
5454
git config --global user.email '[email protected]'
5555
git push --force --atomic https://github.com/${{ github.repository }}.git FETCH_HEAD:test-main-pipeline
5656
- name: Explain next steps
57-
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6
57+
uses: thollander/actions-comment-pull-request@e2c37e53a7d2227b61585343765f73a9ca57eda9
5858
with:
5959
message: |
6060
:arrow_right: **PR build request submitted to `test-main-pipeline`** :arrow_left:
6161
6262
A maintainer must now check the pipeline and add the `pr-linter/cli-integ-tested` label once the pipeline succeeds.
63-
comment_tag: request-cli-integ-test
63+
comment-tag: request-cli-integ-test
6464
mode: recreate
6565
# Post as our automation user
66-
GITHUB_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }}
66+
github-token: ${{ secrets.PROJEN_GITHUB_TOKEN }}

.github/workflows/spec-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
path: ${{ runner.temp }}
144144

145145
- name: Make Pull Request
146-
uses: peter-evans/create-pull-request@v6
146+
uses: peter-evans/create-pull-request@v7
147147
with:
148148
# Git commit details
149149
branch: automation/spec-update

.github/workflows/sync-from-upstream.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,21 @@ jobs:
4343
contents: write
4444
needs: [check-secret]
4545
steps:
46-
- name: Checkout using User Token
46+
- name: Checkout using User Token (+ download lfs dependencies)
4747
if: needs.check-secret.outputs.ok == 'true'
4848
uses: actions/checkout@v4
4949
with:
50+
lfs: true
5051
token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
5152

52-
- name: Checkout using GitHub Actions permissions
53+
- name: Checkout using GitHub Actions permissions (+ download lfs dependencies)
5354
if: needs.check-secret.outputs.ok == 'false'
5455
uses: actions/checkout@v4
56+
with:
57+
lfs: true
58+
59+
- name: Checkout LFS objects
60+
run: git lfs checkout
5561

5662
- name: Sync from aws/aws-cdk
5763
run: |-

.github/workflows/update-contributors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
CONTRIB_OUTPUT_FILE: 'CONTRIBUTORS.md'
1919
CONTRIB_IGNORE: 'github-actions[bot],mergify[bot],dependabot[bot],dependabot-preview[bot],aws-cdk-automation'
2020
- name: Create a PR
21-
uses: peter-evans/create-pull-request@v6
21+
uses: peter-evans/create-pull-request@v7
2222
with:
2323
# Git commit details
2424
branch: automation/update-contributors

.github/workflows/update-metadata-regions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
run: '[ -s ${{ runner.temp }}/update-spec.patch ] && git apply ${{ runner.temp }}/update-spec.patch || echo "Empty patch. Skipping."'
6060

6161
- name: Make Pull Request
62-
uses: peter-evans/create-pull-request@v6
62+
uses: peter-evans/create-pull-request@v7
6363
with:
6464
# Git commit details
6565
branch: automation/region-update

.github/workflows/v2-pull-request.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/yarn-upgrade.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
}}/upgrade.patch || echo "Empty patch. Skipping."'
117117

118118
- name: Make Pull Request
119-
uses: peter-evans/create-pull-request@v6
119+
uses: peter-evans/create-pull-request@v7
120120
with:
121121
# Git commit details
122122
branch: automation/yarn-upgrade

0 commit comments

Comments
 (0)