name: Catalog Check on: pull_request: paths: - "README.md" - "README.en.md" - "scripts/repositories.txt" - "scripts/validate_catalog.py" - ".github/workflows/catalog-check.yml" push: branches: [main] paths: - "README.md" - "README.en.md" - "scripts/repositories.txt" - "scripts/validate_catalog.py" - ".github/workflows/catalog-check.yml" jobs: validate: runs-on: ubuntu-latest steps: - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: "3.12" - run: python3 scripts/validate_catalog.py