Skip to content

fix: remove unsupported public ECR lifecycle policies #199

fix: remove unsupported public ECR lifecycle policies

fix: remove unsupported public ECR lifecycle policies #199

Workflow file for this run

name: JSON lint
on:
workflow_dispatch:
pull_request:
paths:
- "**/*.json"
- "**/*.json.tmpl"
- ".github/workflows/json-lint.yml"
push:
branches:
- main
paths:
- "**/*.json"
- "**/*.json.tmpl"
- ".github/workflows/json-lint.yml"
jobs:
json-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Lint JSON
run: find . -name "*.json" -exec cat {} \; | jq .
- name: Lint JSON templates
run: find . -name "*.json.tmpl" -exec cat {} \; | sed "s/\${[^}]*}//g" | jq . # remove ${} placeholders