ci: run the IAM data drift check on pull requests touching the documented REST routes (#8552)

documented-routes-verify runs inside iam-data-verify for a pull request
touching rest-routes.json, regen_rest_routes.py or its test, but
iam-data-drift.yml's pull_request.paths listed none of the three, so a
pull request changing only the routes skipped the online check until the
weekly run. rest-routes.json is also one of the authorized-action
check's paths, which went unchecked the same way.

- iam-data-drift.yml lists the three paths, and its header says it
  checks the routes rest-routes.json takes from the AWS page documenting
  an endpoint botocore does not model.
- DOCUMENTED_ROUTES_PATHS also covers regen_partitions.py and
  regen_query_services.py, the modules regen_rest_routes.py imports, as
  every other check's paths cover its generator's imports.
This commit is contained in:
Priamo Germosen authored and GitHub committed 2026-11-16 07:00:30 -04:00
1 parent 9eda97cf84
commit acc8196d80
2 files changed
+7 -2

No files matched your search

+6 -1
View File
@@ -7,7 +7,9 @@ name: IAM Data Drift
# operations that pass a Lambda network connector, the table of the
# tagging actions operations that tag what they create need, the table of the resources each
# operation's request names, the DynamoDB condition key table, the IAM condition key table, the
# S3 Control tag condition key table, and the request condition key table (Lambda Web and Redshift). That
# S3 Control tag condition key table, and the request condition key table (Lambda Web and Redshift). It
# also checks the routes rest-routes.json takes from the AWS page that documents an endpoint botocore does
# not model (Glue's Iceberg REST endpoint). That
# needs the live service reference index, so unlike every other check here it can
# fail without anything in the repository having changed: an AWS outage, or a namespace AWS has
# retired. It therefore runs on its own, never as part of a job that ordinary changes trigger.
@@ -69,6 +71,9 @@ on:
- 'src/main/resources/aws/request-condition-keys.json'
- 'tools/aws/regen_request_condition_keys.py'
- 'tools/aws/test_regen_request_condition_keys.py'
- 'src/main/resources/aws/rest-routes.json'
- 'tools/aws/regen_rest_routes.py'
- 'tools/aws/test_regen_rest_routes.py'
- 'tools/aws/regen_partitions.py'
- 'tools/aws/regen_query_services.py'
- '.github/workflows/iam-data-drift.yml'