File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed
Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,6 @@ jobs:
101101 throw new Error(`auto-merge-dependabot not permitted for author login: ${author.login} type: ${author.type}`);
102102 }
103103
104- let committer = commit.committer;
105- if (committer.login != 'dependabot[bot]' || committer.type != 'Bot') {
106- throw new Error(`auto-merge-dependabot not permitted for committer login: ${committer.login} type: ${committer.type}`);
107- }
108-
109104 }
110105
111106 if (commits.data.length>249) {
Original file line number Diff line number Diff line change @@ -83,6 +83,11 @@ resource "aws_iam_role_policy" "this" {
8383 policy = data. aws_iam_policy_document . this . json
8484}
8585
86+ resource "aws_iam_role_policy_attachment" "logging" {
87+ role = aws_iam_role. this . name
88+ policy_arn = " arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
89+ }
90+
8691resource "aws_iam_role_policy_attachment" "insights" {
8792 count = var. enable_lambda_insights ? 1 : 0
8893 role = aws_iam_role. this . name
Original file line number Diff line number Diff line change @@ -13,12 +13,11 @@ package-mode = false
1313
1414[tool .poetry .dependencies ]
1515python = " ^3.12"
16- aws-lambda-powertools = " ^3.19.0 "
16+
1717
1818
1919[tool .poetry .group .dev .dependencies ]
2020# ci / testing dependencies
21-
2221mypy = " ^1.16.0"
2322pytest = " ^8.4.0"
2423pytest-asyncio = " ^1.0.0"
@@ -34,6 +33,7 @@ boto3 = "^1.40.17"
3433moto = " ^5.1.10"
3534pyparsing = " ^3.2.3"
3635types-python-dateutil = " ^2.9.0.20250822"
36+ aws-lambda-powertools = " ^3.19.0"
3737
3838
3939[tool .poetry .group .local .dependencies ]
@@ -77,7 +77,6 @@ target-version = "py312"
7777
7878[tool .ruff .lint .per-file-ignores ]
7979
80-
8180[tool .mypy ]
8281python_version = " 3.12"
8382warn_return_any = true
@@ -87,9 +86,6 @@ check_untyped_defs = true
8786exclude = [
8887 " build" ,
8988 " dist" ,
90- " scripts" ,
91- " terraform" ,
92- " module"
9389]
9490
9591[[tool .mypy .overrides ]]
You can’t perform that action at this time.
0 commit comments