Compare commits

..

1 commit

Author SHA1 Message Date
dependabot[bot]
04733aaf0e
Bump aws-cdk-lib in /cdk in the minor-and-patch group
Bumps the minor-and-patch group in /cdk with 1 update: [aws-cdk-lib](https://github.com/aws/aws-cdk).


Updates `aws-cdk-lib` from 2.261.0 to 2.262.0
- [Release notes](https://github.com/aws/aws-cdk/releases)
- [Changelog](https://github.com/aws/aws-cdk/blob/main/CHANGELOG.v2.alpha.md)
- [Commits](https://github.com/aws/aws-cdk/compare/v2.261.0...v2.262.0)

---
updated-dependencies:
- dependency-name: aws-cdk-lib
  dependency-version: 2.262.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-23 18:54:40 +00:00
4 changed files with 4 additions and 25 deletions

View file

@ -3,12 +3,9 @@ on:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
ci:
uses: Sea-Haven-Industries/.github/.github/workflows/ci-python-sam.yaml@f71002a9ed2938730b683249b28059c92a081af6
uses: Sea-Haven-Industries/.github/.github/workflows/ci-python-sam.yaml@fd60e4c9041784f666ac0fdefb9bec3c7fbf5143 # main
with:
python-version: "3.12"
source-dirs: "cdk lambdas tests"

View file

@ -1,10 +1,6 @@
name: Dependency Review
on:
pull_request:
permissions:
contents: read
jobs:
review:
uses: Sea-Haven-Industries/.github/.github/workflows/callable-dependency-review.yaml@fd60e4c9041784f666ac0fdefb9bec3c7fbf5143 # main

View file

@ -1,2 +1,2 @@
aws-cdk-lib==2.262.1
constructs>=10.7.1
aws-cdk-lib==2.262.0
constructs>=10.7.0

View file

@ -25,7 +25,6 @@ from __future__ import annotations
import html
import os
import re
from urllib.parse import unquote, urlparse
# Axis 2 — Hold Reason → category.
HOLD_TO_CATEGORY = {
@ -119,19 +118,6 @@ def strip_html(comment: str | None) -> str:
# ---------------------------------------------------------------------------
def _contains_url_with_host(text: str, expected_host: str) -> bool:
"""Return True when ''text'' contains an absolute URL with hostname ''expected_host''."""
for raw_url in re.findall(r"https?://[^\s<>'\"()]+", text, flags=re.IGNORECASE):
candidate = unquote(raw_url).rstrip(".,;:!?)]}\"'")
try:
host = urlparse(candidate).hostname
except ValueError:
continue
if host and host.lower() == expected_host:
return True
return False
def comment_intent(comment: str) -> str | None:
"""Ordered, most-specific-first rule ladder over the *stripped* text.
@ -161,7 +147,7 @@ def comment_intent(comment: str) -> str | None:
# -- SIM Ticket: Amazon SIM tooling references.
if (
re.search(r"\bsim\b.*\b(ticket|tt|v\d{6,})\b", low)
or _contains_url_with_host(t, "t.corp.amazon.com")
or "t.corp.amazon.com" in low
or re.search(r"\bsim\s*tt\b", low)
):
return "SIM Ticket"