-
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 feat/ec2/network-interface-l2
- Loading branch information
Showing
4,532 changed files
with
1,442,226 additions
and
553,172 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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
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 was deleted.
Oops, something went wrong.
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
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
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
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
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
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,23 @@ | ||
name: PR Prioritization | ||
on: | ||
pull_request_target: | ||
types: | ||
- labeled | ||
- opened | ||
- reopened | ||
- synchronize | ||
- ready_for_review | ||
|
||
jobs: | ||
prioritize: | ||
if: github.repository == 'aws/aws-cdk' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Add PR to Project & Set Priority | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.PROJEN_GITHUB_TOKEN }} | ||
script: | | ||
const script = require('./scripts/prioritization/assign-priority.js') | ||
await script({github, context}) |
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,19 @@ | ||
name: P1 Bug Prioritization | ||
on: | ||
issues: | ||
types: | ||
- labeled | ||
|
||
jobs: | ||
prioritize: | ||
if: github.repository == 'aws/aws-cdk' && contains(github.event.issue.labels.*.name, 'bug') && contains(github.event.issue.labels.*.name, 'p1') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Add P1 Bug to project | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.PROJEN_GITHUB_TOKEN }} | ||
script: | | ||
const script = require('./scripts/prioritization/assign-bug-priority.js') | ||
await script({github, context}) |
20 changes: 20 additions & 0 deletions
20
.github/workflows/project-prioritization-needs-attention.yml
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,20 @@ | ||
name: PR Prioritization Needs Attention Status | ||
on: | ||
schedule: | ||
- cron: '0 7 * * 1-5' # Runs at 7AM every day during weekdays | ||
workflow_dispatch: # Manual trigger | ||
|
||
jobs: | ||
update_project_status: | ||
if: github.repository == 'aws/aws-cdk' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Update Needs Attention Status | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.PROJEN_GITHUB_TOKEN }} | ||
script: | | ||
const script = require('./scripts/prioritization/update-attention-status.js') | ||
await script({github}) |
20 changes: 20 additions & 0 deletions
20
.github/workflows/project-prioritization-r2-assignment.yml
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,20 @@ | ||
name: PR Prioritization R2 Check | ||
on: | ||
schedule: | ||
- cron: '0 */6 * * 1-5' # Runs every 6 hours during weekdays | ||
workflow_dispatch: # Manual trigger | ||
|
||
jobs: | ||
update_project_status: | ||
if: github.repository == 'aws/aws-cdk' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Check and assign R2 Priority to PRs | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.PROJEN_GITHUB_TOKEN }} | ||
script: | | ||
const script = require('./scripts/prioritization/assign-r2-priority.js') | ||
await script({github}) |
19 changes: 19 additions & 0 deletions
19
.github/workflows/project-prioritization-r5-assignment.yml
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,19 @@ | ||
name: PR Prioritization R5 Check | ||
on: | ||
schedule: | ||
- cron: '0 6 * * 1-5' # Runs at 6AM every day during weekdays | ||
workflow_dispatch: # Manual trigger | ||
|
||
jobs: | ||
update_project_status: | ||
if: github.repository == 'aws/aws-cdk' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Check and Assign R5 Priority to PRs | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.PROJEN_GITHUB_TOKEN }} | ||
script: | | ||
const script = require('./scripts/prioritization/assign-r5-priority.js') | ||
await script({github}) |
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
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
Oops, something went wrong.