-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into alb-mtls-update
- Loading branch information
Showing
95 changed files
with
9,940 additions
and
1,490 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: CDK Analytics Metadata Updater | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- yuanhaoz/metadata_workflow # TODO, remove this | ||
- v2-release | ||
|
||
jobs: | ||
update-analytics-metadata: | ||
if: github.repository == 'aws/aws-cdk' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Set up Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "*" | ||
env: | ||
NODE_OPTIONS: "--max-old-space-size=8196 --experimental-worker ${NODE_OPTIONS:-}" | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile && cd tools/@aws-cdk/construct-metadata-updater && yarn build+test | ||
|
||
- name: Invoke Analytics Metadata Updater | ||
run: | | ||
cd tools/@aws-cdk/construct-metadata-updater | ||
./bin/update-construct-metadata | ||
- name: Check for changes | ||
id: git-check | ||
run: | | ||
if [[ -n "$(git status --porcelain)" ]]; then | ||
echo "changes=true" >> $GITHUB_OUTPUT | ||
else | ||
echo "changes=false" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Commit & Push changes | ||
if: steps.git-check.outputs.changes == 'true' | ||
run: | | ||
git config --global user.name 'aws-cdk-automation' | ||
git config --global user.email '[email protected]' | ||
git add . | ||
git commit -m "chore: update analytics metadata blueprints" | ||
git push origin ${{ github.event.pull_request.head.ref }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...ate/integ.container-cpu-memory.js.snapshot/aws-ecs-integ-container-cpu-memory.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.