Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws-cloudformation/cfn-lint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.12.0
Choose a base ref
...
head repository: aws-cloudformation/cfn-lint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Showing 4,370 changed files with 190,600 additions and 231,676 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage:
status:
project:
default:
threshold: 1%
6 changes: 3 additions & 3 deletions .github/workflows/ci-branch.yaml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
python: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]

steps:
- uses: actions/checkout@v4
@@ -25,7 +25,7 @@ jobs:
- name: Run Tox
run: |
tox -e py -- -m "data or not data"
- uses: codecov/codecov-action@v4.1.0
- uses: codecov/codecov-action@v5
if: matrix.os == 'ubuntu-latest'
with:
token: ${{ secrets.CODECOV_TOKEN }}
@@ -69,7 +69,7 @@ jobs:
pip3 install -e .
pip install --upgrade pip
pip install --upgrade setuptools
- uses: pypa/gh-action-pip-audit@v1.0.8
- uses: pypa/gh-action-pip-audit@v1.1.0
with:
ignore-vulns: |
GHSA-r9hx-vwmv-q579
43 changes: 0 additions & 43 deletions .github/workflows/ci-pr-coverage.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/ci-pr-data.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "[CI] Test PR Data"

on:
pull_request:
paths:
- "src/cfnlint/data/**"

jobs:
data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Tox and any other packages
run: pip install tox
- name: Run Tox
run: |
tox -e py -- -m "data"
36 changes: 9 additions & 27 deletions .github/workflows/ci-pr.yaml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
@@ -26,33 +26,15 @@ jobs:
run: |
tox -e py
mv coverage.xml coverage-${{ matrix.python }}.xml
- name: Store coverage file
uses: actions/upload-artifact@v4
- uses: codecov/codecov-action@v5
if: matrix.os == 'ubuntu-latest'
with:
name: coverage-${{ matrix.python }}
path: coverage-${{ matrix.python }}.xml
- name: Save PR number
run: |
mkdir -p ./pr
echo ${{ github.event.number }} > ./pr/NR
- uses: actions/upload-artifact@v2
with:
name: pr
path: pr/
data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Tox and any other packages
run: pip install tox
- name: Run Tox
run: |
tox -e py -- -m "data"
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage-${{ matrix.python }}.xml
name: py${{ matrix.python }}-${{ matrix.os }}
flags: unittests
fail_ci_if_error: true
verbose: true
integration:
runs-on: ${{ matrix.os }}
strategy:
@@ -89,7 +71,7 @@ jobs:
pip3 install -e .
pip install --upgrade pip
pip install --upgrade setuptools
- uses: pypa/gh-action-pip-audit@v1.0.8
- uses: pypa/gh-action-pip-audit@v1.1.0
with:
ignore-vulns: |
GHSA-r9hx-vwmv-q579
4 changes: 2 additions & 2 deletions .github/workflows/maintenance-v0.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Automated Maintenance v0
on:
schedule:
- cron: "0 4,8,16,20 * * *"
- cron: "0 0,12 * * *"
workflow_dispatch: # Enables on-demand/manual triggering: https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/manually-running-a-workflow
jobs:
job:
@@ -31,7 +31,7 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- uses: peter-evans/create-pull-request@v6
- uses: peter-evans/create-pull-request@v7
with:
branch: create-pull-request/maintenance-v0
commit-message: |
6 changes: 3 additions & 3 deletions .github/workflows/maintenance-v1.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Automated Maintenance v1
on:
schedule:
- cron: "0 0,6,12,18 * * *"
- cron: "0 8,20 * * *"
workflow_dispatch: # Enables on-demand/manual triggering: https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/manually-running-a-workflow
jobs:
job:
@@ -25,14 +25,14 @@ jobs:
cfn-lint --update-documentation
scripts/update_specs_from_pricing.py
scripts/update_serverless_aws_policies.py
scripts/update_schemas_from_boto.py
scripts/boto/update_schemas_from_boto.py
scripts/update_schemas_from_aws_api.py
cfn-lint --update-specs
echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- uses: peter-evans/create-pull-request@v6
- uses: peter-evans/create-pull-request@v7
with:
branch: create-pull-request/maintenance-v1
commit-message: |
Loading