Files
floci/.github/workflows/cfn-schema-drift.yml
T
dependabot[bot] e90f2590b5 chore(deps): bump the actions-minor-patch group across 1 directory with 3 updates (#7171)
Bumps the actions-minor-patch group with 3 updates in the / directory: [docker/login-action](https://github.com/docker/login-action), [actions/setup-python](https://github.com/actions/setup-python) and [actions/setup-java](https://github.com/actions/setup-java).


Updates `docker/login-action` from 4.6.0 to 4.7.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/dbcb813823bdd20940b903addbd779551569679f...81c6f93d4bc991e510b342a00b419b3bb4efc5c6)

Updates `actions/setup-python` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/5fda3b95a4ea91299a34e894583c3862153e4b97...6d4fd22b20465ccc0f7354476588e8df7c9ca0e0)

Updates `actions/setup-java` from 6.0.1 to 6.1.0
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/de7274f081f381c8f8158605e0321c36c376e2e6...b843ebf9b913146b38da2eaa7aeddf76074ae1ad)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: 4.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: actions/setup-python
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: actions/setup-java
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-31 22:11:42 -05:00

51 lines
2.0 KiB
YAML

name: CloudFormation Schema Drift
# Checks the vendored CloudFormation property types against the resource schemas AWS publishes.
# They come from AWS's live schema archive rather than from a pinned dependency, so, as with the
# IAM data in iam-data-drift.yml, this check can fail without anything in the repository having
# changed, and it runs on its own, never as part of a job that ordinary changes trigger.
#
# Two triggers, for two different failures:
#
# - On a pull request that touches the vendored file or its generator, where a hand-edited type
# would enter the repository.
# - Weekly, because the file also goes stale without anyone touching it: AWS changes resource
# schemas, and a property Floci types by an old schema would refuse a template AWS accepts.
#
# The fix for a real failure is `make cfn-property-types-sync` and committing the result. The
# offline shape check is hermetic and runs per pull request in partition-literals.yml instead.
on:
pull_request:
paths:
- 'src/main/resources/aws/cfn-property-types.json'
- 'tools/aws/regen_cfn_property_types.py'
- 'tools/aws/test_regen_cfn_property_types.py'
- '.github/workflows/cfn-schema-drift.yml'
schedule:
# Mondays at 06:10 UTC, beside the IAM data drift check.
- cron: '10 6 * * 1'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
cfn-schema-drift:
name: Vendored CloudFormation property types still match AWS
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.x"
# No dependency install: the generator is stdlib-only.
- name: Check the vendored property types still match AWS's schemas
run: make cfn-property-types-verify