Skip to content

Commit 8c2aa76

Browse files
Merge branch 'aws:main' into main
2 parents 79101c7 + c7b236c commit 8c2aa76

File tree

2,014 files changed

+1064244
-780817
lines changed

Some content is hidden

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

2,014 files changed

+1064244
-780817
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,36 @@ title: "(module name): (short issue description)"
55
labels: [bug, needs-triage]
66
assignees: []
77
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for taking the time to fill out this bug report!
12+
13+
**⚠️ Please read this before filling out the form below:**
14+
If the bug you are reporting is a security-related issue or a security vulnerability,
15+
please report it via [Report a security vulnerability](https://github.com/aws/aws-cdk/security/advisories/new) instead of this template.
816
- type: textarea
917
id: description
1018
attributes:
1119
label: Describe the bug
1220
description: What is the problem? A clear and concise description of the bug.
1321
validations:
1422
required: true
23+
- type: checkboxes
24+
id: regression
25+
attributes:
26+
label: Regression Issue
27+
description: What is a regression? If it worked in a previous version but doesn’t in the latest version, it’s considered a regression. In this case, please provide specific version number in the report.
28+
options:
29+
- label: Select this option if this issue appears to be a regression.
30+
required: false
31+
- type: input
32+
id: working-version
33+
attributes:
34+
label: Last Known Working CDK Version
35+
description: Specify the last known CDK version where this code was functioning as expected (if applicable).
36+
validations:
37+
required: false
1538
- type: textarea
1639
id: expected
1740
attributes:

.github/ISSUE_TEMPLATE/notice.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: "❗ Notice"
3-
description: Post a notice for a high impact issue
3+
description: Post a notice for a high impact issue. Internal CDK team use only.
44
title: "❗ NOTICE (module name): (short notice description)"
5-
labels: [p0, management/tracking]
5+
labels: [needs-triage, management/tracking]
66
body:
77
- type: dropdown
88
attributes:

.github/ISSUE_TEMPLATE/region.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: New Region
2-
description: Register a new region.
2+
description: Register a new region. Internal CDK team use only.
33
title: "Register new region: [region]"
4-
labels: ["@aws-cdk/region-info", "feature-request", "p1", "effort/medium"]
4+
labels: ["@aws-cdk/region-info", "feature-request", needs-triage, "effort/medium"]
55
body:
66
- type: input
77
id: ROUTE_53_BUCKET_WEBSITE_ZONE_IDS

.github/ISSUE_TEMPLATE/tracking.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Tracking Issue
2-
description: Add a module tracking issue (internal use only)
2+
description: Add a module tracking issue. Internal CDK team use only.
33
title: "Tracking: [service]"
4-
labels: [management/tracking]
4+
labels: [needs-triage, management/tracking]
55
body:
66
- type: markdown
77
attributes:

.github/workflows/close-stale-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
important-checks-regex: AutoBuildv2Project1C6BFA3F
2626
warn-message: This PR has been in the STATE state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week.
2727
close-message: This PR has been deemed to be abandoned, and will be automatically closed. Please create a new PR for these changes if you think this decision has been made in error.
28-
skip-labels: contribution/core,pr-linter/do-not-close,pr/needs-maintainer-review
28+
skip-labels: contribution/core,pr-linter/do-not-close,pr/needs-maintainer-review,pr-linter/exemption-requested
2929
close-label: closed-for-staleness

.github/workflows/closed-issue-message.yml

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

.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,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,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]]'

.github/workflows/issue-label-assign.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,5 +284,6 @@ env:
284284
{"area":"@aws-cdk/integ-tests","keywords":["integ-tests", "integ"],"labels":["@aws-cdk/integ-tests"]},
285285
{"area":"@aws-cdk/integ-runner","keywords":["integ-runner"],"labels":["@aws-cdk/integ-runner"]},
286286
{"area":"@aws-cdk/app-staging-synthesizer-alpha", "keywords":["app-staging-synthesizer", "app-staging-synthesizer-alpha"],"labels":["@aws-cdk/app-staging-synthesizer-alpha"]},
287-
{"area":"@aws-cdk/aws-location-alpha", "keywords":["aws-location", "aws-location-alpha"],"labels":["@aws-cdk/aws-location-alpha"]}
287+
{"area":"@aws-cdk/aws-location-alpha", "keywords":["aws-location", "aws-location-alpha"],"labels":["@aws-cdk/aws-location-alpha"]},
288+
{"area":"@aws-cdk/cli-lib-alpha", "keywords":["cli-lib", "cli-lib-alpha"],"labels":["@aws-cdk/cli-lib-alpha"]}
288289
]
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Apply potential regression label on issues
2+
name: issue-regression-label
3+
on:
4+
issues:
5+
types: [opened, edited]
6+
jobs:
7+
add-regression-label:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
steps:
12+
- name: Fetch template body
13+
id: check_regression
14+
uses: actions/github-script@v7
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
TEMPLATE_BODY: ${{ github.event.issue.body }}
18+
with:
19+
script: |
20+
const regressionPattern = /\[x\] Select this option if this issue appears to be a regression\./i;
21+
const template = `${process.env.TEMPLATE_BODY}`
22+
const match = regressionPattern.test(template);
23+
core.setOutput('is_regression', match);
24+
- name: Manage regression label
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
run: |
28+
if [ "${{ steps.check_regression.outputs.is_regression }}" == "true" ]; then
29+
gh issue edit ${{ github.event.issue.number }} --add-label "potential-regression" -R ${{ github.repository }}
30+
else
31+
gh issue edit ${{ github.event.issue.number }} --remove-label "potential-regression" -R ${{ github.repository }}
32+
fi
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Lock Closed Issues and PRs with message
2+
3+
on:
4+
pull_request_target:
5+
types: [closed]
6+
issues:
7+
types: [closed]
8+
9+
jobs:
10+
auto_comment:
11+
permissions:
12+
pull-requests: write
13+
issues: write
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: aws-actions/closed-issue-message@v1
17+
with:
18+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
19+
message: |
20+
Comments on closed issues and PRs are hard for our team to see.
21+
If you need help, please open a new issue that references this one.
22+
lock:
23+
permissions:
24+
pull-requests: write
25+
issues: write
26+
runs-on: ubuntu-latest
27+
needs: auto_comment # only run after comment is complete
28+
steps:
29+
- name: Lock closed issue or PR
30+
run: |
31+
if [ "${{ github.event_name }}" == "issues" ]; then
32+
ISSUE_NUMBER=${{ github.event.issue.number }}
33+
ISSUE_URL=https://api.github.com/repos/${{ github.repository }}/issues/${ISSUE_NUMBER}/lock
34+
else
35+
ISSUE_NUMBER=${{ github.event.pull_request.number }}
36+
ISSUE_URL=https://api.github.com/repos/${{ github.repository }}/issues/${ISSUE_NUMBER}/lock
37+
fi
38+
39+
curl -s -X PUT -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
40+
-H "Accept: application/vnd.github.v3+json" \
41+
${ISSUE_URL} \
42+
-d @- <<EOF
43+
{
44+
"lock_reason": "resolved"
45+
}
46+
EOF

0 commit comments

Comments
 (0)