Skip to content

Commit 8f5d67c

Browse files
authored
Merge branch 'main' into automation/yarn-upgrade
2 parents 6996dd7 + 5f9e857 commit 8f5d67c

File tree

139 files changed

+32289
-31180
lines changed

Some content is hidden

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

139 files changed

+32289
-31180
lines changed

.github/workflows/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,6 @@ Owner: CDK Support team
139139

140140
[project-prioritization-added-on.yml](project-prioritization-added-on.yml): GitHub action that runs every day to update AddedOn field in the prioritization project board.
141141
Owner: CDK Support team
142+
143+
### Issue sync
144+
[issue-sync.yml](issue-sync.yml): Github action that syncs issue metadat with the project board. More details can be found on the [project-sync](../../tools/@aws-cdk/project-sync) package.

.github/workflows/issue-sync.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Issue Sync
2+
3+
on:
4+
issue_comment:
5+
types: [created, edited, deleted]
6+
issues:
7+
types: [opened]
8+
9+
jobs:
10+
sync-issue:
11+
name: Sync Issue with Project Board
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '20'
21+
cache: 'yarn'
22+
cache-dependency-path: 'tools/@aws-cdk/project-sync/yarn.lock'
23+
24+
# Cache node_modules
25+
- name: Cache node_modules
26+
uses: actions/cache@v3
27+
id: cache-modules
28+
with:
29+
path: |
30+
tools/@aws-cdk/project-sync/node_modules
31+
node_modules
32+
key: ${{ runner.os }}-modules-${{ hashFiles('tools/@aws-cdk/project-sync/yarn.lock', 'yarn.lock') }}
33+
restore-keys: |
34+
${{ runner.os }}-modules-
35+
36+
- name: Install dependencies
37+
if: steps.cache-modules.outputs.cache-hit != 'true'
38+
run: |
39+
cd tools/@aws-cdk/project-sync
40+
yarn install --frozen-lockfile
41+
42+
# Cache build output
43+
- name: Cache build output
44+
uses: actions/cache@v3
45+
id: cache-build
46+
with:
47+
path: |
48+
tools/@aws-cdk/project-sync/lib/*.js
49+
tools/@aws-cdk/project-sync/bin/*.js
50+
key: ${{ runner.os }}-build-${{ hashFiles('tools/@aws-cdk/project-sync/lib', 'tools/@aws-cdk/project-sync/bin') }}
51+
restore-keys: |
52+
${{ runner.os }}-build-
53+
54+
- name: Build project-sync
55+
if: steps.cache-build.outputs.cache-hit != 'true'
56+
run: |
57+
cd tools/@aws-cdk/project-sync
58+
yarn build
59+
60+
- name: Run issue-sync
61+
env:
62+
GITHUB_TOKEN: ${{ secrets.PROJECT_SYNC_GITHUB_TOKEN }}
63+
ISSUE_NUMBER: ${{ github.event.issue.number }}
64+
REPOSITORY: ${{ github.repository }}
65+
PROJECT_NUMBER: ${{ vars.PROJECT_NUMBER || 302 }}
66+
run: |
67+
cd tools/@aws-cdk/project-sync
68+
node bin/issue-sync.js

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
"tools/@aws-cdk/prlint",
8585
"tools/@aws-cdk/spec2cdk",
8686
"tools/@aws-cdk/lazify",
87+
"tools/@aws-cdk/project-sync",
8788
"tools/@aws-cdk/lambda-integration-test-updater",
8889
"tools/@aws-cdk/construct-metadata-updater",
8990
"scripts/@aws-cdk/script-tests"

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-cfn-action.js.snapshot/CdkPipelineCfnActionStack.assets.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-cfn-action.js.snapshot/CdkPipelineCfnActionStack.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
"Properties": {
199199
"Content": {
200200
"S3Bucket": "cdk-hnb659fds-assets-12345678-test-region",
201-
"S3Key": "1b2c92f2cd21c170884393633bd4c732676df6290562199b6e3ca5e2a1be7d18.zip"
201+
"S3Key": "c49d356cac773d491c5f7ac148995a1181498a8e289429f8612a7f7e3814f535.zip"
202202
},
203203
"Description": "/opt/awscli/aws"
204204
}

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-cfn-action.js.snapshot/tree.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-sfn-action.js.snapshot/CdkPipelineStepFunctionsActionStack.assets.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-sfn-action.js.snapshot/CdkPipelineStepFunctionsActionStack.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
"Properties": {
200200
"Content": {
201201
"S3Bucket": "cdk-hnb659fds-assets-12345678-test-region",
202-
"S3Key": "1b2c92f2cd21c170884393633bd4c732676df6290562199b6e3ca5e2a1be7d18.zip"
202+
"S3Key": "c49d356cac773d491c5f7ac148995a1181498a8e289429f8612a7f7e3814f535.zip"
203203
},
204204
"Description": "/opt/awscli/aws"
205205
}

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.cross-account-pipeline-sfn-action.js.snapshot/tree.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeline-commands.js.snapshot/asset.1b2c92f2cd21c170884393633bd4c732676df6290562199b6e3ca5e2a1be7d18.zip

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

0 commit comments

Comments
 (0)